mirror of
https://github.com/Ysurac/openmptcprouter.git
synced 2025-03-09 15:40:20 +00:00
Fix support for latest 4.14 kernel
This commit is contained in:
parent
5fa7691306
commit
669c72110f
2 changed files with 6 additions and 4 deletions
|
@ -5573,14 +5573,13 @@ diff -aurN a/net/ipv4/tcp_output.c b/net/ipv4/tcp_output.c
|
|||
{
|
||||
u32 end_seq = TCP_SKB_CB(skb)->end_seq;
|
||||
|
||||
@@ -1893,7 +1933,7 @@
|
||||
@@ -1893,4 +1933,7 @@
|
||||
struct sk_buff *head;
|
||||
int win_divisor;
|
||||
|
||||
- if (TCP_SKB_CB(skb)->tcp_flags & TCPHDR_FIN)
|
||||
+ if ((TCP_SKB_CB(skb)->tcp_flags & TCPHDR_FIN) || mptcp_is_data_fin(skb))
|
||||
goto send_now;
|
||||
|
||||
+ goto send_now;
|
||||
+
|
||||
if (icsk->icsk_ca_state >= TCP_CA_Recovery)
|
||||
@@ -2266,7 +2306,7 @@
|
||||
* Returns true, if no segments are in flight and we have queued segments,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue