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 <pab...@redhat.com>
---
net/mptcp/protocol.h |  1 -
net/mptcp/subflow.c  | 58 +++++++++++---------------------------------
2 files changed, 14 insertions(+), 45 deletions(-)


Reviewed-by: Mat Martineau <mathew.j.martin...@linux.intel.com>

--
Mat Martineau
Intel

Reply via email to