aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2006-11-24 03:01:09 +0100
committerAdrian Bunk <bunk@stusta.de>2006-11-24 03:01:09 +0100
commit635cc29c54bd88c69a2bbd357401cfaf67190aef (patch)
tree9da0752dfd3583831eedaf8725f7343f630e7a02
parenta43a6210ce28978607dbbe09979ebd1b2baadb32 (diff)
[IPX]: Fix typo, ipxhdr() --> ipx_hdr()
Noticed by Dave Jones. Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Adrian Bunk <bunk@stusta.de>
-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 fb815541fa21..c55b2a954b9e 100644
--- a/net/ipx/af_ipx.c
+++ b/net/ipx/af_ipx.c
@@ -1646,7 +1646,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) ||