mirror of
https://github.com/Ysurac/openmptcprouter.git
synced 2025-03-09 15:40:20 +00:00
Merge branch 'Ysurac-develop' into testdevelop
fix
This commit is contained in:
commit
2fb25eb70d
5 changed files with 4 additions and 2 deletions
6
root/target/linux/generic/hack-5.4/690-mptcp_trunk.patch
Executable file → Normal file
6
root/target/linux/generic/hack-5.4/690-mptcp_trunk.patch
Executable file → Normal file
|
@ -23811,7 +23811,7 @@ diff --git a/include/net/tcp.h b/include/net/tcp.h
|
||||||
index 3e4f5179a835..93d53f5d5359 100644
|
index 3e4f5179a835..93d53f5d5359 100644
|
||||||
--- a/include/net/tcp.h
|
--- a/include/net/tcp.h
|
||||||
+++ b/include/net/tcp.h
|
+++ b/include/net/tcp.h
|
||||||
@@ -850,6 +850,30 @@ static inline u32 tcp_receive_window(const struct tcp_sock *tp)
|
@@ -850,6 +850,32 @@ static inline u32 tcp_receive_window(const struct tcp_sock *tp)
|
||||||
return (u32) win;
|
return (u32) win;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -23834,7 +23834,9 @@ index 3e4f5179a835..93d53f5d5359 100644
|
||||||
+{
|
+{
|
||||||
+ s32 win = tp->rcv_right_edge - tp->rcv_nxt;
|
+ s32 win = tp->rcv_right_edge - tp->rcv_nxt;
|
||||||
+
|
+
|
||||||
+ if (win < 0)
|
+ win = max_t(s32, win, tp->rcv_wup + tp->rcv_wnd - tp->rcv_nxt);
|
||||||
|
+
|
||||||
|
+ if (unlikely(win < 0))
|
||||||
+ win = 0;
|
+ win = 0;
|
||||||
+ return (u32) win;
|
+ return (u32) win;
|
||||||
+}
|
+}
|
||||||
|
|
0
root/target/linux/generic/hack-5.4/692-tcp_nanqinlang.patch
Executable file → Normal file
0
root/target/linux/generic/hack-5.4/692-tcp_nanqinlang.patch
Executable file → Normal file
0
root/target/linux/generic/hack-5.4/693-tcp_bbr2.patch
Executable file → Normal file
0
root/target/linux/generic/hack-5.4/693-tcp_bbr2.patch
Executable file → Normal file
0
root/target/linux/generic/hack-5.4/998-ndpi-netfilter.patch
Executable file → Normal file
0
root/target/linux/generic/hack-5.4/998-ndpi-netfilter.patch
Executable file → Normal file
0
root/target/linux/generic/hack-5.4/999-stop-promiscuous-info.patch
Executable file → Normal file
0
root/target/linux/generic/hack-5.4/999-stop-promiscuous-info.patch
Executable file → Normal file
Loading…
Add table
Add a link
Reference in a new issue