Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 162887
b: refs/heads/master
c: 7c64b9f
h: refs/heads/master
i:
  162885: 9bcb0c0
  162883: f8df936
  162879: 67c690d
v: v3
  • Loading branch information
Jarek Poplawski authored and David S. Miller committed Sep 16, 2009
1 parent 1303390 commit 251e895
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 926e61b7c44db83013159ac2f74bccd451607b5a
refs/heads/master: 7c64b9f3f584008000cf3b960f25cd6a68fce191
4 changes: 2 additions & 2 deletions trunk/net/sched/sch_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -809,7 +809,7 @@ qdisc_create(struct net_device *dev, struct netdev_queue *dev_queue,
stab = qdisc_get_stab(tca[TCA_STAB]);
if (IS_ERR(stab)) {
err = PTR_ERR(stab);
goto err_out3;
goto err_out4;
}
sch->stab = stab;
}
Expand Down Expand Up @@ -838,7 +838,6 @@ qdisc_create(struct net_device *dev, struct netdev_queue *dev_queue,
return sch;
}
err_out3:
qdisc_put_stab(sch->stab);
dev_put(dev);
kfree((char *) sch - sch->padded);
err_out2:
Expand All @@ -852,6 +851,7 @@ qdisc_create(struct net_device *dev, struct netdev_queue *dev_queue,
* Any broken qdiscs that would require a ops->reset() here?
* The qdisc was never in action so it shouldn't be necessary.
*/
qdisc_put_stab(sch->stab);
if (ops->destroy)
ops->destroy(sch);
goto err_out3;
Expand Down

0 comments on commit 251e895

Please sign in to comment.