summaryrefslogtreecommitdiffstats
path: root/net/ipv4
diff options
context:
space:
mode:
authorJarek Poplawski <jarkao2@gmail.com>2009-09-15 23:42:05 -0700
committerDavid S. Miller <davem@davemloft.net>2009-09-15 23:42:05 -0700
commit7c64b9f3f584008000cf3b960f25cd6a68fce191 (patch)
tree2c19bff73b434b12f50304c97758a01751df9aaa /net/ipv4
parent926e61b7c44db83013159ac2f74bccd451607b5a (diff)
downloadblackbird-op-linux-7c64b9f3f584008000cf3b960f25cd6a68fce191.tar.gz
blackbird-op-linux-7c64b9f3f584008000cf3b960f25cd6a68fce191.zip
pkt_sched: Fix qdisc_create on stab error handling
If qdisc_get_stab returns error in qdisc_create there is skipped qdisc ops->destroy, which is necessary because it's after ops->init at the moment, so memory leaks are quite probable. Signed-off-by: Jarek Poplawski <jarkao2@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud