]> bbs.cooldavid.org Git - net-next-2.6.git/commit
fib: fib_result_assign() should not change fib refcounts
authorEric Dumazet <eric.dumazet@gmail.com>
Thu, 4 Nov 2010 01:21:39 +0000 (01:21 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 4 Nov 2010 19:05:32 +0000 (12:05 -0700)
commit1f1b9c9990205759aae31b7734b0ede41a867f32
treeaba367dd7280ff38932c881a0fcf5356bea53df2
parentcccbe5ef85284621d19e5b2b1c61cc0506bc9dee
fib: fib_result_assign() should not change fib refcounts

After commit ebc0ffae5 (RCU conversion of fib_lookup()),
fib_result_assign()  should not change fib refcounts anymore.

Thanks to Michael who did the bisection and bug report.

Reported-by: Michael Ellerman <michael@ellerman.id.au>
Tested-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/fib_lookup.h