Eric Dumazet a47311380e net: fix __neigh_event_send()
commit 7fee226ad23 (net: add a noref bit on skb dst) missed one spot
where an skb is enqueued, with a possibly not refcounted dst entry.

__neigh_event_send() inserts skb into arp_queue, so we must make sure
dst entry is refcounted, or dst entry can be freed by garbage collector
after caller exits from rcu protected section.

Reported-by: Ingo Molnar <mingo@elte.hu>
Tested-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-05-28 01:57:16 -07:00
..
2010-05-23 23:24:36 -07:00
2010-04-13 03:32:44 -07:00
2010-05-28 01:57:16 -07:00
2010-04-19 14:40:57 -07:00
2010-03-21 20:33:36 -07:00
2010-05-27 00:30:53 -07:00