]> git.baikalelectronics.ru Git - kernel.git/commit
mptcp: stop relying on tcp_tx_skb_cache
authorPaolo Abeni <pabeni@redhat.com>
Wed, 22 Sep 2021 17:26:41 +0000 (19:26 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 Sep 2021 11:50:26 +0000 (12:50 +0100)
commit42f25983edf4d5b05b1c452e8c7e2f0834f058dd
treea4e3365cc98aa9cadb37178610b5b44fe853b513
parentf8b5f6134b4b9d472600e8676d7979826f7b8847
mptcp: stop relying on tcp_tx_skb_cache

We want to revert the skb TX cache, but MPTCP is currently
using it unconditionally.

Rework the MPTCP tx code, so that tcp_tx_skb_cache is not
needed anymore: do the whole coalescing check, skb allocation
skb initialization/update inside mptcp_sendmsg_frag(), quite
alike the current TCP code.

Reviewed-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mptcp/protocol.c