patch-2.4.22 linux-2.4.22/net/core/neighbour.c

Next file: linux-2.4.22/net/core/netfilter.c
Previous file: linux-2.4.22/net/core/filter.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.21/net/core/neighbour.c linux-2.4.22/net/core/neighbour.c
@@ -435,8 +435,8 @@
 	struct hh_cache *hh;
 
 	if (!neigh->dead) {
-		printk("Destroying alive neighbour %p from %08lx\n", neigh,
-		       *(((unsigned long*)&neigh)-1));
+		printk("Destroying alive neighbour %p\n", neigh);
+		dump_stack();
 		return;
 	}
 
@@ -1069,6 +1069,7 @@
 				return NULL;
 			}
 		}
+		p->sysctl_table = NULL;
 		write_lock_bh(&tbl->lock);
 		p->next = tbl->parms.next;
 		tbl->parms.next = p;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)