diff options
author | Paolo Abeni <pabeni@redhat.com> | 2020-09-14 10:01:13 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-09-14 13:28:02 -0700 |
commit | 04e4cd4f7ca4600409a898fe0abc318372c4c1ab (patch) | |
tree | c2ea27728fa7f2820875e10b83fddda132b6be2a /net/sched | |
parent | ab174ad8ef76276cadfdae98731d31797d265927 (diff) | |
download | linux-rpi-04e4cd4f7ca4600409a898fe0abc318372c4c1ab.tar.gz linux-rpi-04e4cd4f7ca4600409a898fe0abc318372c4c1ab.tar.bz2 linux-rpi-04e4cd4f7ca4600409a898fe0abc318372c4c1ab.zip |
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>
Diffstat (limited to 'net/sched')
0 files changed, 0 insertions, 0 deletions