Skip to content

Commit

Permalink
[IPX]: Fix typo, ipxhdr() --> ipx_hdr()
Browse files Browse the repository at this point in the history
Noticed by Dave Jones.

Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed Aug 10, 2006
1 parent 06aebfb commit fff6425
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/ipx/af_ipx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) ||
Expand Down

0 comments on commit fff6425

Please sign in to comment.