patch-1.3.19 linux/net/appletalk/aarp.c

Next file: linux/net/appletalk/ddp.c
Previous file: linux/net/appletalk/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.18/linux/net/appletalk/aarp.c linux/net/appletalk/aarp.c
@@ -584,7 +584,7 @@
 	 *	Frame size ok ?
 	 */
 	 
-	if(skb_pull(skb,sizeof(*ea))<sizeof(*ea))
+	if(!skb_pull(skb,sizeof(*ea)))
 	{
 		kfree_skb(skb, FREE_READ);
 		return 0;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this