[NET]: Fix race in generic address resolution.
authorFrank Blaschka <frank.blaschka@de.ibm.com>
Mon, 3 Mar 2008 20:16:04 +0000 (12:16 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 3 Mar 2008 20:16:04 +0000 (12:16 -0800)
commit7e36763b2c204d59de4e88087f84a2c0c8421f25
tree5e39fcd1121fd033bd1ff985aa37de017f933526
parentc3d84a4dd22c727f5ed64453c72183c242ac9c19
[NET]: Fix race in generic address resolution.

neigh_update sends skb from neigh->arp_queue while neigh_timer_handler
has increased skbs refcount and calls solicit with the
skb. neigh_timer_handler should not increase skbs refcount but make a
copy of the skb and do solicit with the copy.

Signed-off-by: Frank Blaschka <frank.blaschka@de.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/neighbour.c