summaryrefslogtreecommitdiffstats
path: root/lib/hweight.c
diff options
context:
space:
mode:
authorJarek Poplawski <jarkao2@gmail.com>2008-04-12 18:37:13 -0700
committerDavid S. Miller <davem@davemloft.net>2008-04-12 18:37:13 -0700
commite56cfad132f2ae269082359d279c17230c987e74 (patch)
tree6867ab5499fe617a16b15f1572b5d22d863d2524 /lib/hweight.c
parent028b027524b162eef90839a92ba4b8bddf23e06c (diff)
downloadlinux-e56cfad132f2ae269082359d279c17230c987e74.tar.bz2
[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 'lib/hweight.c')
0 files changed, 0 insertions, 0 deletions