IPv6: addrconf timer race
authorstephen hemminger <shemminger@vyatta.com>
Tue, 2 Mar 2010 13:32:45 +0000 (13:32 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 4 Mar 2010 08:39:33 +0000 (00:39 -0800)
commit5b2a19539c5f59c5a038d213ede723f0245d97cf
tree254bd6d2a4e574337c821c00a7ba10d024e52439
parent122e4519cd5c224d4b8e681d368132b643e28f60
IPv6: addrconf timer race

The Router Solicitation timer races with device state changes
because it doesn't lock the device. Use local variable to avoid
one repeated dereference.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/addrconf.c