projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[SK_BUFF]: Introduce skb_network_offset()
[powerpc.git]
/
drivers
/
net
/
atl1
/
atl1_main.c
diff --git
a/drivers/net/atl1/atl1_main.c
b/drivers/net/atl1/atl1_main.c
index
e3f1816
..
793a61b
100644
(file)
--- a/
drivers/net/atl1/atl1_main.c
+++ b/
drivers/net/atl1/atl1_main.c
@@
-1300,7
+1300,7
@@
static int atl1_tso(struct atl1_adapter *adapter, struct sk_buff *skb,
~csum_tcpudp_magic(skb->nh.iph->saddr,
skb->nh.iph->daddr, 0,
IPPROTO_TCP, 0);
- ipofst = skb
->nh.raw - skb->data
;
+ ipofst = skb
_network_offset(skb)
;
if (ipofst != ENET_HEADER_SIZE) /* 802.3 frame */
tso->tsopl |= 1 << TSO_PARAM_ETHTYPE_SHIFT;