patch-2.3.30 linux/include/net/sock.h

Next file: linux/include/video/fbcon.h
Previous file: linux/include/math-emu/soft-fp.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.29/linux/include/net/sock.h linux/include/net/sock.h
@@ -386,6 +386,7 @@
 
 #define sock_lock_init(__sk) \
 do {	spin_lock_init(&((__sk)->lock.slock)); \
+	(__sk)->dst_lock = RW_LOCK_UNLOCKED; \
 	(__sk)->lock.users = 0; \
 	init_waitqueue_head(&((__sk)->lock.wq)); \
 } while(0);

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