patch-2.1.36 linux/net/core/dst.c

Next file: linux/net/core/net_alias.c
Previous file: linux/net/core/dev.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.35/linux/net/core/dst.c linux/net/core/dst.c
@@ -20,7 +20,7 @@
 #include <net/dst.h>
 
 struct dst_entry * dst_garbage_list;
-atomic_t	dst_total = ATOMIC_INIT;
+atomic_t	dst_total = ATOMIC_INIT(0);
 
 static unsigned long dst_gc_timer_expires;
 static unsigned long dst_gc_timer_inc = DST_GC_MAX;

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