e1000: Same cosmetic fix as earlier sent out for IPV4.
Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
This commit is contained in:
parent
4e1dc97d5e
commit
e15fdd0391
1 changed files with 1 additions and 1 deletions
|
@ -2545,7 +2545,7 @@ e1000_tso(struct e1000_adapter *adapter, struct e1000_tx_ring *tx_ring,
|
||||||
cmd_length = E1000_TXD_CMD_IP;
|
cmd_length = E1000_TXD_CMD_IP;
|
||||||
ipcse = skb->h.raw - skb->data - 1;
|
ipcse = skb->h.raw - skb->data - 1;
|
||||||
#ifdef NETIF_F_TSO_IPV6
|
#ifdef NETIF_F_TSO_IPV6
|
||||||
} else if (skb->protocol == ntohs(ETH_P_IPV6)) {
|
} else if (skb->protocol == htons(ETH_P_IPV6)) {
|
||||||
skb->nh.ipv6h->payload_len = 0;
|
skb->nh.ipv6h->payload_len = 0;
|
||||||
skb->h.th->check =
|
skb->h.th->check =
|
||||||
~csum_ipv6_magic(&skb->nh.ipv6h->saddr,
|
~csum_ipv6_magic(&skb->nh.ipv6h->saddr,
|
||||||
|
|
Reference in a new issue