]> git.baikalelectronics.ru Git - kernel.git/commit
mptcp: attempt coalescing when moving skbs to mptcp rx queue
authorFlorian Westphal <fw@strlen.de>
Mon, 25 May 2020 21:41:13 +0000 (23:41 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 May 2020 03:29:32 +0000 (20:29 -0700)
commit5fe7c9d9c61dc611a250eb1e230c353798d07371
treee9c16bebc1dd55749880189929ff62994c7af0c3
parentf1bef3d409068550e4dc54fceb40aa13bffd0a60
mptcp: attempt coalescing when moving skbs to mptcp rx queue

We can try to coalesce skbs we take from the subflows rx queue with the
tail of the mptcp rx queue.

If successful, the skb head can be discarded early.

We can also free the skb extensions, we do not access them after this.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mptcp/protocol.c