Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit f00d8fd6 authored by Sean Tranchetti's avatar Sean Tranchetti
Browse files

xfrm: Use __skb_queue_tail in xfrm_trans_queue



We do not need locking in xfrm_trans_queue because it is designed
to use per-CPU buffers.  However, the original code incorrectly
used skb_queue_tail which takes the lock.  This patch switches
it to __skb_queue_tail instead.

Reported-and-tested-by: default avatarArtem Savkov <asavkov@redhat.com>
Fixes: acf568ee859f ("xfrm: Reinject transport-mode packets...")
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: default avatarSteffen Klassert <steffen.klassert@secunet.com>
Git-commit: d16b46e4fd8bc6063624605f25b8c0835bb1fbe3
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git


Change-Id: Ia2917d9d4f43f20ae09ede0fe92f5245db9baf2b
Signed-off-by: default avatarSean Tranchetti <stranche@codeaurora.org>
parent c1908d2c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment