aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipx/af_ipx.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2006-08-09 20:36:15 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2006-08-09 20:36:15 -0400
commitfff642570dc47ab76491fe81ee6599269c4eb13e (patch)
treef5620d5af28bcd5614386a43febc5751423abf05 /net/ipx/af_ipx.c
parent06aebfb7faa13258af5230ff3d1587ece6c0250e (diff)
[IPX]: Fix typo, ipxhdr() --> ipx_hdr()
Noticed by Dave Jones. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipx/af_ipx.c')
-rw-r--r--net/ipx/af_ipx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipx/af_ipx.c b/net/ipx/af_ipx.c
index 401964204866..bef3f61569f7 100644
--- a/net/ipx/af_ipx.c
+++ b/net/ipx/af_ipx.c
@@ -1645,7 +1645,7 @@ static int ipx_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_ty
1645 if (!pskb_may_pull(skb, sizeof(struct ipxhdr))) 1645 if (!pskb_may_pull(skb, sizeof(struct ipxhdr)))
1646 goto drop; 1646 goto drop;
1647 1647
1648 ipx_pktsize = ntohs(ipxhdr(skb)->ipx_pktsize); 1648 ipx_pktsize = ntohs(ipx_hdr(skb)->ipx_pktsize);
1649 1649
1650 /* Too small or invalid header? */ 1650 /* Too small or invalid header? */
1651 if (ipx_pktsize < sizeof(struct ipxhdr) || 1651 if (ipx_pktsize < sizeof(struct ipxhdr) ||