提交 fff64257 编写于 作者: D David S. Miller

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

Noticed by Dave Jones.
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 06aebfb7
...@@ -1645,7 +1645,7 @@ static int ipx_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_ty ...@@ -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))) if (!pskb_may_pull(skb, sizeof(struct ipxhdr)))
goto drop; goto drop;
ipx_pktsize = ntohs(ipxhdr(skb)->ipx_pktsize); ipx_pktsize = ntohs(ipx_hdr(skb)->ipx_pktsize);
/* Too small or invalid header? */ /* Too small or invalid header? */
if (ipx_pktsize < sizeof(struct ipxhdr) || if (ipx_pktsize < sizeof(struct ipxhdr) ||
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册