patch-1.3.71 linux/net/ipv4/arp.c

Next file: linux/net/ipv4/tcp_input.c
Previous file: linux/net/core/sock.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.70/linux/net/ipv4/arp.c linux/net/ipv4/arp.c
@@ -1390,9 +1390,10 @@
 			if (pos <= offset)
 				len=0;
 			if (pos >= offset+length)
-				break;
+				goto done;
 		}
 	}
+done:
 	arp_unlock();
   
 	*start = buffer+len-(pos-offset);	/* Start of wanted data */

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