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

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

diff -u --recursive --new-file v2.1.33/linux/include/net/neighbour.h linux/include/net/neighbour.h
@@ -116,7 +116,7 @@
 				    struct neighbour *neigh)
 {
 	start_bh_atomic();
-	if (tbl->tbl_lock == 1)
+	if (atomic_read(&tbl->tbl_lock) == 1)
 	{
 		neigh_table_ins(tbl, neigh);
 	}

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov