]>
Commit | Line | Data |
---|---|---|
fba38836 DM |
1 | From d469251bfd06d15289c9dd5dd60b8ebf65785b03 Mon Sep 17 00:00:00 2001 |
2 | From: Mark Rustad <mark.d.rustad@intel.com> | |
3 | Date: Fri, 4 Dec 2015 11:26:43 -0800 | |
4 | Subject: ixgbe: Correct handling of any outer UDP checksum setting | |
5 | ||
6 | If an outer UDP checksum is set, pass the skb up with CHECKSUM_NONE | |
7 | so that the stack will check the checksum. Do not increment an | |
8 | error counter, because we don't know that there is an actual error. | |
9 | ||
10 | Signed-off-by: Mark Rustad <mark.d.rustad@intel.com> | |
11 | Signed-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 | ||
16 | diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | |
17 | index 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 | -- | |
30 | cgit v0.12 | |
31 |