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)
commitf70cad1085d1e01d3ec73c1078405f906237feee
treea4e3365cc98aa9cadb37178610b5b44fe853b513
parent04d8825c30b718781197c8f07b1915a11bfb8685
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