Commit 635cc29c authored by David S. Miller's avatar David S. Miller Committed by Adrian Bunk

[IPX]: Fix typo, ipxhdr() --> ipx_hdr()

Noticed by Dave Jones.
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
parent a43a6210
......@@ -1646,7 +1646,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) ||
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment