projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06aebfb
)
[IPX]: Fix typo, ipxhdr() --> ipx_hdr()
author
David S. Miller
<davem@sunset.davemloft.net>
Thu, 10 Aug 2006 00:36:15 +0000
(17:36 -0700)
committer
David S. Miller
<davem@sunset.davemloft.net>
Thu, 10 Aug 2006 00:36:15 +0000
(17:36 -0700)
Noticed by Dave Jones.
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipx/af_ipx.c
patch
|
blob
|
blame
|
history
diff --git
a/net/ipx/af_ipx.c
b/net/ipx/af_ipx.c
index 4019642048664e7a5b1ddd208e37bbfd2820a586..bef3f61569f76470248a9993a0ed4aae6ef1e8dc 100644
(file)
--- a/
net/ipx/af_ipx.c
+++ b/
net/ipx/af_ipx.c
@@
-1645,7
+1645,7
@@
static int ipx_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_ty
if (!pskb_may_pull(skb, sizeof(struct ipxhdr)))
goto drop;
- ipx_pktsize = ntohs(ipxhdr(skb)->ipx_pktsize);
+ ipx_pktsize = ntohs(ipx
_
hdr(skb)->ipx_pktsize);
/* Too small or invalid header? */
if (ipx_pktsize < sizeof(struct ipxhdr) ||