patch-2.2.4 linux/include/net/neighbour.h

Next file: linux/include/net/pkt_cls.h
Previous file: linux/include/net/ipv6.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.3/linux/include/net/neighbour.h linux/include/net/neighbour.h
@@ -226,7 +226,6 @@
 		neigh->confirmed = jiffies;
 }
 
-
 extern __inline__ struct neighbour *
 neigh_lookup(struct neigh_table *tbl, const void *pkey, struct device *dev)
 {
@@ -258,6 +257,7 @@
 extern __inline__ void neigh_table_lock(struct neigh_table *tbl)
 {
 	atomic_inc(&tbl->lock);
+	synchronize_bh();
 }
 
 extern __inline__ void neigh_table_unlock(struct neigh_table *tbl)

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