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
- Lines: 9
- Date:
Mon Apr 14 11:45:18 1997
- Orig file:
v2.1.33/linux/include/net/neighbour.h
- Orig date:
Thu Mar 27 14:40:11 1997
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