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
/
chelsio
/
sge.c
diff --git
a/drivers/net/chelsio/sge.c
b/drivers/net/chelsio/sge.c
index
47fa8dc
..
8cdee67
100644
(file)
--- a/
drivers/net/chelsio/sge.c
+++ b/
drivers/net/chelsio/sge.c
@@
-1865,7
+1865,7
@@
int t1_start_xmit(struct sk_buff *skb, struct net_device *dev)
++st->tx_tso;
- eth_type = skb
->nh.raw - skb->data
== ETH_HLEN ?
+ eth_type = skb
_network_offset(skb)
== ETH_HLEN ?
CPL_ETH_II : CPL_ETH_II_VLAN;
hdr = (struct cpl_tx_pkt_lso *)skb_push(skb, sizeof(*hdr));