Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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



Noticed by Dave Jones.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 06aebfb7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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) ||