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

Next file: linux/net/ipv4/icmp.c
Previous file: linux/net/ipv4/af_inet.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.68/linux/net/ipv4/arp.c linux/net/ipv4/arp.c
@@ -51,6 +51,7 @@
  *					of host down events.
  *		Alan Cox	:	Missing unlock in device events.
  *		Eckes		:	ARP ioctl control errors.
+ *		Alexey Kuznetsov:	Arp free fix.
  */
 
 /* RFC1122 Status:
@@ -331,6 +332,7 @@
 	{
 		next = hh->hh_next;
 		hh->hh_arp = NULL;
+		hh->hh_uptodate = 0;
 		if (!--hh->hh_refcnt)
 			kfree_s(hh, sizeof(struct(struct hh_cache)));
 	}

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