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

Next file: linux/CREDITS
Previous file: linux/ipc/msg.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.99/linux/net/ipv4/arp.c linux/net/ipv4/arp.c
@@ -1431,7 +1431,7 @@
  *	all possible race conditions should be resolved by
  *	cli()/sti() pairs.
  *
- *	Important note: hhs never disapear from lists, if ARP_LOCKED,
+ *	Important note: hhs never disappear from lists, if ARP_LOCKED,
  *	this fact allows to scan hh lists with enabled interrupts,
  *	but results in generating duplicate hh entries.
  *	It is harmless. (and I've never seen such event)
@@ -2036,7 +2036,7 @@
 		entry->mask = mask;
 		entry->flags = r->arp_flags;
 
-		entry->next = (*entryp)->next;
+		entry->next = *entryp;
 		*entryp = entry;
 	}
 


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