On Mon, 14 Sep 2020, Paolo Abeni wrote:

There is no need to use the tcp_read_sock(), we can
simply drop the skb. Additionally try to look at the
next buffer for in order data.

This both simplifies the code and avoid unneeded indirect
calls.

Signed-off-by: Paolo Abeni <[email protected]>
---
net/mptcp/protocol.h |  1 -
net/mptcp/subflow.c  | 58 +++++++++++---------------------------------
2 files changed, 14 insertions(+), 45 deletions(-)


Reviewed-by: Mat Martineau <[email protected]>

--
Mat Martineau
Intel

Reply via email to