summaryrefslogtreecommitdiffstats
path: root/lib/digsig.c
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2020-05-16 10:46:20 +0200
committerDavid S. Miller <davem@davemloft.net>2020-05-17 12:35:34 -0700
commit149f7c71e2c710a8ced836421a631953c9f84aa3 (patch)
treec93d9ef2919afeee41972fe3c9afdb6cfac30c09 /lib/digsig.c
parent72511aab95c94d7c0f03d0b7db5df47fdca059f6 (diff)
downloadlinux-149f7c71e2c710a8ced836421a631953c9f84aa3.tar.gz
linux-149f7c71e2c710a8ced836421a631953c9f84aa3.tar.bz2
linux-149f7c71e2c710a8ced836421a631953c9f84aa3.zip
mptcp: fill skb extension cache outside of mptcp_sendmsg_frag
The mptcp_sendmsg_frag helper contains a loop that will wait on the subflow sk. It seems preferrable to only wait in mptcp_sendmsg() when blocking io is requested. mptcp_sendmsg already has such a wait loop that is used when no subflow socket is available for transmission. This is a preparation patch that makes sure we call mptcp_sendmsg_frag only if a skb extension has been allocated. Moreover, such allocation currently uses GFP_ATOMIC while it could use sleeping allocation instead. Followup patches will remove the wait loop from mptcp_sendmsg_frag() and will allow to do a sleeping allocation for the extension. Acked-by: Paolo Abeni <pabeni@redhat.com> Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/digsig.c')
0 files changed, 0 insertions, 0 deletions