aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/e1000e
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/e1000e')
-rw-r--r--drivers/net/e1000e/netdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/e1000e/netdev.c b/drivers/net/e1000e/netdev.c
index d092eafde9bf..f388a0179325 100644
--- a/drivers/net/e1000e/netdev.c
+++ b/drivers/net/e1000e/netdev.c
@@ -3774,7 +3774,7 @@ static bool e1000_tx_csum(struct e1000_adapter *adapter, struct sk_buff *skb)
3774 else 3774 else
3775 protocol = skb->protocol; 3775 protocol = skb->protocol;
3776 3776
3777 switch (skb->protocol) { 3777 switch (protocol) {
3778 case cpu_to_be16(ETH_P_IP): 3778 case cpu_to_be16(ETH_P_IP):
3779 if (ip_hdr(skb)->protocol == IPPROTO_TCP) 3779 if (ip_hdr(skb)->protocol == IPPROTO_TCP)
3780 cmd_len |= E1000_TXD_CMD_TCP; 3780 cmd_len |= E1000_TXD_CMD_TCP;