patch-2.4.22 linux-2.4.22/net/ipv4/tcp_minisocks.c

Next file: linux-2.4.22/net/ipv4/udp.c
Previous file: linux-2.4.22/net/ipv4/tcp_ipv4.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.21/net/ipv4/tcp_minisocks.c linux-2.4.22/net/ipv4/tcp_minisocks.c
@@ -447,6 +447,8 @@
 
 	while((tw = tcp_tw_death_row[tcp_tw_death_row_slot]) != NULL) {
 		tcp_tw_death_row[tcp_tw_death_row_slot] = tw->next_death;
+		if (tw->next_death)
+			tw->next_death->pprev_death = tw->pprev_death;
 		tw->pprev_death = NULL;
 		spin_unlock(&tw_death_lock);
 

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