OSDN Git Service

net: allow __skb_ext_alloc to sleep
authorFlorian Westphal <fw@strlen.de>
Sat, 16 May 2020 08:46:23 +0000 (10:46 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 17 May 2020 19:35:34 +0000 (12:35 -0700)
commit4930f4831b1547b52c5968e9307fe3d840d7fba0
tree11c8520bff5181c4954df61a7082f12f441f0867
parent5c8264435d4f6a056ac926989a827aba1961e3c8
net: allow __skb_ext_alloc to sleep

mptcp calls this from the transmit side, from process context.
Allow a sleeping allocation instead of unconditional GFP_ATOMIC.

Acked-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/skbuff.h
net/core/skbuff.c
net/mptcp/protocol.c