diff options
author | Al Viro | 2006-11-21 03:07:29 +0100 |
---|---|---|
committer | David S. Miller | 2006-12-03 06:27:18 +0100 |
commit | ff1dcadb1b55dbf471c5ed109dbbdf06bd19ef3b (patch) | |
tree | cbcd17d33ecc52c90d218b43c5aec430be448058 /drivers/net/ixgb | |
parent | [NETFILTER]: ip_nat_snmp_basic annotations. (diff) | |
download | kernel-qcow2-linux-ff1dcadb1b55dbf471c5ed109dbbdf06bd19ef3b.tar.gz kernel-qcow2-linux-ff1dcadb1b55dbf471c5ed109dbbdf06bd19ef3b.tar.xz kernel-qcow2-linux-ff1dcadb1b55dbf471c5ed109dbbdf06bd19ef3b.zip |
[NET]: Split skb->csum
... into anonymous union of __wsum and __u32 (csum and csum_offset resp.)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ixgb')
-rw-r--r-- | drivers/net/ixgb/ixgb_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ixgb/ixgb_main.c b/drivers/net/ixgb/ixgb_main.c index e09f575a3a38..7b127212e62b 100644 --- a/drivers/net/ixgb/ixgb_main.c +++ b/drivers/net/ixgb/ixgb_main.c @@ -1249,7 +1249,7 @@ ixgb_tx_csum(struct ixgb_adapter *adapter, struct sk_buff *skb) if(likely(skb->ip_summed == CHECKSUM_PARTIAL)) { struct ixgb_buffer *buffer_info; css = skb->h.raw - skb->data; - cso = (skb->h.raw + skb->csum) - skb->data; + cso = css + skb->csum_offset; i = adapter->tx_ring.next_to_use; context_desc = IXGB_CONTEXT_DESC(adapter->tx_ring, i); |