summaryrefslogtreecommitdiff
path: root/crypto/ablkcipher.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2014-10-23 06:43:46 +0400
committerDavid S. Miller <davem@davemloft.net>2014-10-26 00:24:02 +0400
commitfe0ca7328d03d36aafecebb3af650e1bb2841c20 (patch)
treec01cf2481fea951491b25a4cedab5de305a1fcb6 /crypto/ablkcipher.c
parent349ce993ac706869d553a1816426d3a4bfda02b1 (diff)
downloadlinux-fe0ca7328d03d36aafecebb3af650e1bb2841c20.tar.xz
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>
Diffstat (limited to 'crypto/ablkcipher.c')
0 files changed, 0 insertions, 0 deletions