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-04-20 16:37:13 -07:00
2010-05-28 01:57:16 -07:00
2010-05-27 00:30:53 -07:00
2010-05-27 00:30:53 -07:00
2010-05-26 21:09:51 -07:00
2010-05-17 23:23:13 -07:00
2010-04-23 16:37:33 -07:00
2010-04-20 16:37:13 -07:00
2010-04-20 16:37:13 -07:00
2010-05-21 14:40:01 -04:00
2010-05-17 17:39:28 -07:00