diff options
author | Jarek Poplawski <jarkao2@gmail.com> | 2008-04-12 18:37:13 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-04-12 18:37:13 -0700 |
commit | e56cfad132f2ae269082359d279c17230c987e74 (patch) | |
tree | 6867ab5499fe617a16b15f1572b5d22d863d2524 /net/sctp | |
parent | 028b027524b162eef90839a92ba4b8bddf23e06c (diff) | |
download | linux-e56cfad132f2ae269082359d279c17230c987e74.tar.gz linux-e56cfad132f2ae269082359d279c17230c987e74.tar.bz2 linux-e56cfad132f2ae269082359d279c17230c987e74.zip |
[NET_SCHED] cls_u32: refcounting fix for u32_delete()
Deleting of nonroot hnodes mostly doesn't work in u32_delete():
refcnt == 1 is expected, but such hnodes' refcnts are initialized
with 0 and charged only with "link" nodes. Now they'll start with
1 like usual. Thanks to Patrick McHardy for an improving suggestion.
Signed-off-by: Jarek Poplawski <jarkao2@gmail.com>
Acked-by: Jamal Hadi Salim <hadi@cyberus.ca>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp')
0 files changed, 0 insertions, 0 deletions