diff options
author | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2021-01-11 01:18:24 -0800 |
---|---|---|
committer | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2021-01-11 01:18:24 -0800 |
commit | e4427fc04f40c62e849c980fb1dfd4afb19ba3d2 (patch) | |
tree | 4e8027e8f0d33f1f0bafe985dded0bb0b0c520d6 /0003-iwlwifi-Fix-regression-from-UDP-segmentation-support.patch | |
parent | Updated to 5.10.5 (diff) | |
download | linux-ck-e4427fc04f40c62e849c980fb1dfd4afb19ba3d2.tar.xz |
Updated to 5.10.6
Re-enabled EXPERT
Diffstat (limited to '0003-iwlwifi-Fix-regression-from-UDP-segmentation-support.patch')
-rw-r--r-- | 0003-iwlwifi-Fix-regression-from-UDP-segmentation-support.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/0003-iwlwifi-Fix-regression-from-UDP-segmentation-support.patch b/0003-iwlwifi-Fix-regression-from-UDP-segmentation-support.patch new file mode 100644 index 0000000..2a46e8c --- /dev/null +++ b/0003-iwlwifi-Fix-regression-from-UDP-segmentation-support.patch @@ -0,0 +1,34 @@ +From 2059ba0b121bb366467fcefb35cef22cc23e2fe9 Mon Sep 17 00:00:00 2001 +From: Eric Dumazet <edumazet@google.com> +Date: Mon, 21 Dec 2020 20:14:02 +0100 +Subject: iwlwifi: Fix regression from UDP segmentation support + +Eric's tentative fix from +https://lore.kernel.org/linux-wireless/CANn89iJWG2n1s3j7EdpwkQQv-9dOY02V+FGYHAWguO4JiqWuJA@mail.gmail.com/ +--- + drivers/net/wireless/intel/iwlwifi/mvm/tx.c | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/tx.c b/drivers/net/wireless/intel/iwlwifi/mvm/tx.c +index fe1c538cd718..c27743a58f81 100644 +--- a/drivers/net/wireless/intel/iwlwifi/mvm/tx.c ++++ b/drivers/net/wireless/intel/iwlwifi/mvm/tx.c +@@ -833,6 +833,7 @@ iwl_mvm_tx_tso_segment(struct sk_buff *skb, unsigned int num_subframes, + + next = skb_gso_segment(skb, netdev_flags); + skb_shinfo(skb)->gso_size = mss; ++ skb_shinfo(skb)->gso_type = ipv4 ? SKB_GSO_TCPV4 : SKB_GSO_TCPV6; + if (WARN_ON_ONCE(IS_ERR(next))) + return -EINVAL; + else if (next) +@@ -855,6 +856,7 @@ iwl_mvm_tx_tso_segment(struct sk_buff *skb, unsigned int num_subframes, + + if (tcp_payload_len > mss) { + skb_shinfo(tmp)->gso_size = mss; ++ skb_shinfo(tmp)->gso_type = ipv4 ? SKB_GSO_TCPV4 : SKB_GSO_TCPV6; + } else { + if (qos) { + u8 *qc; +-- +cgit v1.2.3-1-gf6bb5 + |