commit | e56cfad132f2ae269082359d279c17230c987e74 | [log] [tgz] |
---|---|---|
author | Jarek Poplawski <jarkao2@gmail.com> | Sat Apr 12 18:37:13 2008 -0700 |
committer | David S. Miller <davem@davemloft.net> | Sat Apr 12 18:37:13 2008 -0700 |
tree | 6867ab5499fe617a16b15f1572b5d22d863d2524 | |
parent | 028b027524b162eef90839a92ba4b8bddf23e06c [diff] |
[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>