mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
[IPX]: Fix typo, ipxhdr() --> ipx_hdr()
Noticed by Dave Jones. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
06aebfb7fa
commit
fff642570d
1 changed files with 1 additions and 1 deletions
|
@ -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) ||
|
||||
|
|
Loading…
Reference in a new issue