Home
last modified time | relevance | path

Searched hist:fe0ca7328d03d36aafecebb3af650e1bb2841c20 (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/net/
H A Dmacvlan.cdiff fe0ca7328d03d36aafecebb3af650e1bb2841c20 Thu Oct 23 04:43:46 CEST 2014 Eric Dumazet <edumazet@google.com> macvlan: fix a race on port dismantle and possible skb leaks

We need to cancel the work queue after rcu grace period,
otherwise it can be rescheduled by incoming packets.

We need to purge queue if some skbs are still in it.

We can use __skb_queue_head_init() variant in
macvlan_process_broadcast()

Signed-off-by: Eric Dumazet <edumazet@google.com>
Fixes: 412ca1550cbec ("macvlan: Move broadcasts into a work queue")
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>