--- linux-2.6.27.7/net/ipv6/inet6_hashtables.c~ 2008-12-03 19:33:29.502811014 +0100 +++ linux-2.6.27.7/net/ipv6/inet6_hashtables.c 2008-12-04 08:48:20.898136465 +0100 @@ -214,7 +214,8 @@ if (twp != NULL) { *twp = tw; - NET_INC_STATS_BH(twsk_net(tw), LINUX_MIB_TIMEWAITRECYCLED); + if (tw != NULL) + NET_INC_STATS_BH(twsk_net(tw), LINUX_MIB_TIMEWAITRECYCLED); } else if (tw != NULL) { /* Silly. Should hash-dance instead... */ inet_twsk_deschedule(tw, death_row);