]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
committerStefan Bader <stefan.bader@canonical.com>
Fri, 7 Oct 2022 08:39:28 +0000 (10:39 +0200)
commite99c104694dff57b20fe0d4af9f012d9be713bc6
treed8dc93e9e430dbae638ada70a1cff1f07f10bcff
parent9074483dd74921c0a1e67215135466c509ba989b
mptcp: stop relying on tcp_tx_skb_cache

BugLink: https://bugs.launchpad.net/bugs/1991717
[ Upstream commit f70cad1085d1e01d3ec73c1078405f906237feee ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
net/mptcp/protocol.c