]> git.proxmox.com Git - pve-kernel-jessie.git/blame - ixgbe-Correct-handling-of-any-outer-UDP-checksum-setting.patch
bump version to 4.4.8-52
[pve-kernel-jessie.git] / ixgbe-Correct-handling-of-any-outer-UDP-checksum-setting.patch
CommitLineData
fba38836
DM
1From d469251bfd06d15289c9dd5dd60b8ebf65785b03 Mon Sep 17 00:00:00 2001
2From: Mark Rustad <mark.d.rustad@intel.com>
3Date: Fri, 4 Dec 2015 11:26:43 -0800
4Subject: ixgbe: Correct handling of any outer UDP checksum setting
5
6If an outer UDP checksum is set, pass the skb up with CHECKSUM_NONE
7so that the stack will check the checksum. Do not increment an
8error counter, because we don't know that there is an actual error.
9
10Signed-off-by: Mark Rustad <mark.d.rustad@intel.com>
11Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
12---
13 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
17index ea9537d..a12f93d 100644
18--- a/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
19+++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
20@@ -1483,7 +1483,7 @@ static inline void ixgbe_rx_checksum(struct ixgbe_ring *ring,
21 return;
22
23 if (ixgbe_test_staterr(rx_desc, IXGBE_RXDADV_ERR_OUTERIPER)) {
24- ring->rx_stats.csum_err++;
25+ skb->ip_summed = CHECKSUM_NONE;
26 return;
27 }
28 /* If we checked the outer header let the stack know */
29--
30cgit v0.12
31