]> git.baikalelectronics.ru Git - kernel.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)
commit105fc17c67d235f92c66bcae4e2961f1fd9c65a1
treeaba367dd7280ff38932c881a0fcf5356bea53df2
parentc7b2e579be373695bb82ec640a73340ae191f5da
fib: fib_result_assign() should not change fib refcounts

After commit 3327fe89c (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