projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net: ntohs() misuse
[deliverable/linux.git]
/
drivers
/
net
/
atlx
/
atl1.c
diff --git
a/drivers/net/atlx/atl1.c
b/drivers/net/atlx/atl1.c
index 560f3873d3478f7b4fbd9144e7c88c9fc734e0ad..94d7325caf4ffc5a893c274dc3cf56a0e957897a 100644
(file)
--- 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)
mss = skb_shinfo(skb)->gso_size;
if (mss) {
- if (skb->protocol ==
ntoh
s(ETH_P_IP)) {
+ if (skb->protocol ==
hton
s(ETH_P_IP)) {
proto_hdr_len = (skb_transport_offset(skb) +
tcp_hdrlen(skb));
if (unlikely(proto_hdr_len > len)) {
This page took
0.026888 seconds
and
5
git commands to generate.