aboutsummaryrefslogtreecommitdiffstats
path: root/net/wireless
diff options
context:
space:
mode:
authorSabrina Dubroca <sd@queasysnail.net>2019-11-25 14:48:58 +0100
committerSteffen Klassert <steffen.klassert@secunet.com>2019-12-09 09:59:07 +0100
commit7b3801927e52f8621de311277f7fc727635019e7 (patch)
tree9d02419d2aa75fd8ac852aabb720abd2ae8075d7 /net/wireless
parentnet: add queue argument to __skb_wait_for_more_packets and __skb_{,try_}recv_datagram (diff)
downloadlinux-dev-7b3801927e52f8621de311277f7fc727635019e7.tar.xz
linux-dev-7b3801927e52f8621de311277f7fc727635019e7.zip
xfrm: introduce xfrm_trans_queue_net
This will be used by TCP encapsulation to write packets to the encap socket without holding the user socket's lock. Without this reinjection, we're already holding the lock of the user socket, and then try to lock the encap socket as well when we enqueue the encrypted packet. While at it, add a BUILD_BUG_ON like we usually do for skb->cb, since it's missing for struct xfrm_trans_cb. Co-developed-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: Sabrina Dubroca <sd@queasysnail.net> Acked-by: David S. Miller <davem@davemloft.net> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'net/wireless')
0 files changed, 0 insertions, 0 deletions