Skip to content

Commit

Permalink
mptcp: allocate TX skbs in msk context
Browse files Browse the repository at this point in the history
Move the TX skbs allocation in mptcp_sendmsg() scope,
and tentatively pre-allocate a skbs number proportional
to the sendmsg() length.

Use the ssk tx skb cache to prevent the subflow allocation.

This allows removing the msk skb extension cache and will
make possible the later patches.

Acked-by: Florian Westphal <[email protected]>
Signed-off-by: Paolo Abeni <[email protected]>
Reviewed-by: Mat Martineau <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
  • Loading branch information
Paolo Abeni authored and kuba-moo committed Dec 1, 2020
1 parent 8795260 commit 724cfd2
Show file tree
Hide file tree
Showing 2 changed files with 210 additions and 42 deletions.
Loading

0 comments on commit 724cfd2

Please sign in to comment.