commit | 04e4cd4f7ca4600409a898fe0abc318372c4c1ab | [log] [tgz] |
---|---|---|
author | Paolo Abeni <pabeni@redhat.com> | Mon Sep 14 10:01:13 2020 +0200 |
committer | David S. Miller <davem@davemloft.net> | Mon Sep 14 13:28:02 2020 -0700 |
tree | c2ea27728fa7f2820875e10b83fddda132b6be2a | |
parent | ab174ad8ef76276cadfdae98731d31797d265927 [diff] |
mptcp: cleanup mptcp_subflow_discard_data() 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 <pabeni@redhat.com> Reviewed-by: Mat Martineau <mathew.j.martineau@linux.intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>