]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitdc51109196f51791af03bbae7f422101cea67755
tree5e39fcd1121fd033bd1ff985aa37de017f933526
parent5a6eea21f2cfe567d69a407350ac08cac426f233
[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