mirror of
https://github.com/Fishwaldo/build.git
synced 2025-07-06 04:58:40 +00:00
sunxi-next Upstream patches
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
This commit is contained in:
parent
12dc06510b
commit
ed10182100
3 changed files with 5102 additions and 0 deletions
1700
patch/kernel/sunxi-next/patch-4.19.53-54.patch
Normal file
1700
patch/kernel/sunxi-next/patch-4.19.53-54.patch
Normal file
File diff suppressed because it is too large
Load diff
27
patch/kernel/sunxi-next/patch-4.19.54-55.patch
Normal file
27
patch/kernel/sunxi-next/patch-4.19.54-55.patch
Normal file
|
@ -0,0 +1,27 @@
|
|||
diff --git a/Makefile b/Makefile
|
||||
index b234837e4d07..3addd4c286fa 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -1,7 +1,7 @@
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
VERSION = 4
|
||||
PATCHLEVEL = 19
|
||||
-SUBLEVEL = 54
|
||||
+SUBLEVEL = 55
|
||||
EXTRAVERSION =
|
||||
NAME = "People's Front"
|
||||
|
||||
diff --git a/net/ipv4/tcp_output.c b/net/ipv4/tcp_output.c
|
||||
index 147ed82b73d3..221d9b72423b 100644
|
||||
--- a/net/ipv4/tcp_output.c
|
||||
+++ b/net/ipv4/tcp_output.c
|
||||
@@ -1299,7 +1299,8 @@ int tcp_fragment(struct sock *sk, enum tcp_queue tcp_queue,
|
||||
if (nsize < 0)
|
||||
nsize = 0;
|
||||
|
||||
- if (unlikely((sk->sk_wmem_queued >> 1) > sk->sk_sndbuf)) {
|
||||
+ if (unlikely((sk->sk_wmem_queued >> 1) > sk->sk_sndbuf &&
|
||||
+ tcp_queue != TCP_FRAG_IN_WRITE_QUEUE)) {
|
||||
NET_INC_STATS(sock_net(sk), LINUX_MIB_TCPWQUEUETOOBIG);
|
||||
return -ENOMEM;
|
||||
}
|
3375
patch/kernel/sunxi-next/patch-4.19.55-56.patch
Normal file
3375
patch/kernel/sunxi-next/patch-4.19.55-56.patch
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue