diff options
author | Timo Teras <timo.teras@iki.fi> | 2009-06-11 04:16:28 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-06-11 04:16:28 -0700 |
commit | 5ef12d98a19254ee5dc851bd83e214b43ec1f725 (patch) | |
tree | 703846f5298cca8f8a9f95712d47365e1de1df4a /CREDITS | |
parent | 2b85a34e911bf483c27cfdd124aeb1605145dc80 (diff) | |
download | kernel_samsung_crespo-5ef12d98a19254ee5dc851bd83e214b43ec1f725.zip kernel_samsung_crespo-5ef12d98a19254ee5dc851bd83e214b43ec1f725.tar.gz kernel_samsung_crespo-5ef12d98a19254ee5dc851bd83e214b43ec1f725.tar.bz2 |
neigh: fix state transition INCOMPLETE->FAILED via Netlink request
The current code errors out the INCOMPLETE neigh entry skb queue only from
the timer if maximum probes have been attempted and there has been no reply.
This also causes the transtion to FAILED state.
However, the neigh entry can be also updated via Netlink to inform that the
address is unavailable. Currently, neigh_update() just stops the timers and
leaves the pending skb's unreleased. This results that the clean up code in
the timer callback is never called, preventing also proper garbage collection.
This fixes neigh_update() to process the pending skb queue immediately if
INCOMPLETE -> FAILED state transtion occurs due to a Netlink request.
Signed-off-by: Timo Teras <timo.teras@iki.fi>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions