diff options
Diffstat (limited to 'drivers/net/atlx')
-rw-r--r-- | drivers/net/atlx/atl1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/atlx/atl1.c b/drivers/net/atlx/atl1.c index 560f3873d347..94d7325caf4f 100644 --- a/drivers/net/atlx/atl1.c +++ b/drivers/net/atlx/atl1.c | |||
@@ -2382,7 +2382,7 @@ static int atl1_xmit_frame(struct sk_buff *skb, struct net_device *netdev) | |||
2382 | 2382 | ||
2383 | mss = skb_shinfo(skb)->gso_size; | 2383 | mss = skb_shinfo(skb)->gso_size; |
2384 | if (mss) { | 2384 | if (mss) { |
2385 | if (skb->protocol == ntohs(ETH_P_IP)) { | 2385 | if (skb->protocol == htons(ETH_P_IP)) { |
2386 | proto_hdr_len = (skb_transport_offset(skb) + | 2386 | proto_hdr_len = (skb_transport_offset(skb) + |
2387 | tcp_hdrlen(skb)); | 2387 | tcp_hdrlen(skb)); |
2388 | if (unlikely(proto_hdr_len > len)) { | 2388 | if (unlikely(proto_hdr_len > len)) { |