-
-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 next buffer for in order data. This both simplify the code and avoid unneeded indirect calls. Signed-off-by: Paolo Abeni <pabeni@redhat.com>
- Loading branch information
1 parent
8748fe9
commit 65101ef
Showing
2 changed files
with
14 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters