[NET_SCHED] cls_u32: refcounting fix for u32_delete()
authorJarek Poplawski <jarkao2@gmail.com>
Sun, 13 Apr 2008 01:37:13 +0000 (18:37 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 13 Apr 2008 01:37:13 +0000 (18:37 -0700)
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>

No differences found