Commit fff64257 authored by David S. Miller's avatar David S. Miller

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

Noticed by Dave Jones.
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 06aebfb7
...@@ -1645,7 +1645,7 @@ static int ipx_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_ty ...@@ -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))) if (!pskb_may_pull(skb, sizeof(struct ipxhdr)))
goto drop; goto drop;
ipx_pktsize = ntohs(ipxhdr(skb)->ipx_pktsize); ipx_pktsize = ntohs(ipx_hdr(skb)->ipx_pktsize);
/* Too small or invalid header? */ /* Too small or invalid header? */
if (ipx_pktsize < sizeof(struct ipxhdr) || 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