-
Notifications
You must be signed in to change notification settings - Fork 173
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
modules: sync openwrt upstream kernel modules
Signed-off-by: sbwml <[email protected]>
- Loading branch information
Showing
15 changed files
with
144 additions
and
14 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -56,7 +56,7 @@ Signed-off-by: Alexandre Frade <[email protected]> | |
struct rate_sample *rs); | ||
--- a/net/ipv4/tcp_output.c | ||
+++ b/net/ipv4/tcp_output.c | ||
@@ -2765,6 +2765,7 @@ static bool tcp_write_xmit(struct sock * | ||
@@ -2767,6 +2767,7 @@ static bool tcp_write_xmit(struct sock * | ||
skb_set_delivery_time(skb, tp->tcp_wstamp_ns, SKB_CLOCK_MONOTONIC); | ||
list_move_tail(&skb->tcp_tsorted_anchor, &tp->tsorted_sent_queue); | ||
tcp_init_tso_segs(skb, mss_now); | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -55,7 +55,7 @@ Signed-off-by: Alexandre Frade <[email protected]> | |
* between different flows. | ||
--- a/net/ipv4/tcp_output.c | ||
+++ b/net/ipv4/tcp_output.c | ||
@@ -1601,7 +1601,7 @@ int tcp_fragment(struct sock *sk, enum t | ||
@@ -1603,7 +1603,7 @@ int tcp_fragment(struct sock *sk, enum t | ||
{ | ||
struct tcp_sock *tp = tcp_sk(sk); | ||
struct sk_buff *buff; | ||
|
@@ -64,7 +64,7 @@ Signed-off-by: Alexandre Frade <[email protected]> | |
long limit; | ||
int nlen; | ||
u8 flags; | ||
@@ -1676,6 +1676,30 @@ int tcp_fragment(struct sock *sk, enum t | ||
@@ -1678,6 +1678,30 @@ int tcp_fragment(struct sock *sk, enum t | ||
|
||
if (diff) | ||
tcp_adjust_pcount(sk, skb, diff); | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -97,7 +97,7 @@ Signed-off-by: Alexandre Frade <[email protected]> | |
}; | ||
--- a/net/ipv4/tcp_output.c | ||
+++ b/net/ipv4/tcp_output.c | ||
@@ -2057,13 +2057,12 @@ static u32 tcp_tso_autosize(const struct | ||
@@ -2059,13 +2059,12 @@ static u32 tcp_tso_autosize(const struct | ||
static u32 tcp_tso_segs(struct sock *sk, unsigned int mss_now) | ||
{ | ||
const struct tcp_congestion_ops *ca_ops = inet_csk(sk)->icsk_ca_ops; | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,7 +35,7 @@ Signed-off-by: Alexandre Frade <[email protected]> | |
fastopen_no_cookie:1, /* Allow send/recv SYN+data without a cookie */ | ||
--- a/net/ipv4/tcp_output.c | ||
+++ b/net/ipv4/tcp_output.c | ||
@@ -3003,6 +3003,7 @@ void tcp_send_loss_probe(struct sock *sk | ||
@@ -3005,6 +3005,7 @@ void tcp_send_loss_probe(struct sock *sk | ||
if (WARN_ON(!skb || !tcp_skb_pcount(skb))) | ||
goto rearm_timer; | ||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ Signed-off-by: sbwml <[email protected]> | |
|
||
--- a/kernel/bpf/btf.c | ||
+++ b/kernel/bpf/btf.c | ||
@@ -7884,8 +7884,6 @@ static int btf_module_notify(struct noti | ||
@@ -8028,8 +8028,6 @@ static int btf_module_notify(struct noti | ||
pr_warn("failed to validate module [%s] BTF: %ld\n", | ||
mod->name, PTR_ERR(btf)); | ||
err = PTR_ERR(btf); | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -111,7 +111,7 @@ Signed-off-by: Xiaoping Fan <[email protected]> | |
|
||
len = skb->len; | ||
trace_net_dev_start_xmit(skb, dev); | ||
@@ -5417,6 +5426,11 @@ void netdev_rx_handler_unregister(struct | ||
@@ -5419,6 +5428,11 @@ void netdev_rx_handler_unregister(struct | ||
} | ||
EXPORT_SYMBOL_GPL(netdev_rx_handler_unregister); | ||
|
||
|
@@ -123,7 +123,7 @@ Signed-off-by: Xiaoping Fan <[email protected]> | |
/* | ||
* Limit the use of PFMEMALLOC reserves to those protocols that implement | ||
* the special handling of PFMEMALLOC skbs. | ||
@@ -5465,6 +5479,10 @@ static int __netif_receive_skb_core(stru | ||
@@ -5467,6 +5481,10 @@ static int __netif_receive_skb_core(stru | ||
int ret = NET_RX_DROP; | ||
__be16 type; | ||
|
||
|
@@ -134,7 +134,7 @@ Signed-off-by: Xiaoping Fan <[email protected]> | |
net_timestamp_check(!READ_ONCE(net_hotdata.tstamp_prequeue), skb); | ||
|
||
trace_netif_receive_skb(skb); | ||
@@ -5503,6 +5521,16 @@ another_round: | ||
@@ -5505,6 +5523,16 @@ another_round: | ||
goto out; | ||
} | ||
|
||
|
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
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
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
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