patch-2.4.3 linux/net/ipv6/tcp_ipv6.c
Next file: linux/net/ipx/af_ipx.c
Previous file: linux/net/ipv6/reassembly.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Sun Mar 25 18:14:25 2001
- Orig file:
v2.4.2/linux/net/ipv6/tcp_ipv6.c
- Orig date:
Mon Jan 1 11:01:58 2001
diff -u --recursive --new-file v2.4.2/linux/net/ipv6/tcp_ipv6.c linux/net/ipv6/tcp_ipv6.c
@@ -421,7 +421,7 @@
struct sock *sk2, **skp;
struct tcp_tw_bucket *tw;
- write_lock(&head->lock);
+ write_lock_bh(&head->lock);
for(skp = &(head + tcp_ehash_size)->chain; (sk2=*skp)!=NULL; skp = &sk2->next) {
tw = (struct tcp_tw_bucket*)sk2;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)