]>
Commit | Line | Data |
---|---|---|
fca75ef8 | 1 | --- linux-2.6.27.7/net/ipv6/inet6_hashtables.c~ 2008-12-03 19:33:29.502811014 +0100 |
2 | +++ linux-2.6.27.7/net/ipv6/inet6_hashtables.c 2008-12-04 08:48:20.898136465 +0100 | |
3 | @@ -214,7 +214,8 @@ | |
4 | ||
5 | if (twp != NULL) { | |
6 | *twp = tw; | |
7 | - NET_INC_STATS_BH(twsk_net(tw), LINUX_MIB_TIMEWAITRECYCLED); | |
8 | + if (tw != NULL) | |
9 | + NET_INC_STATS_BH(twsk_net(tw), LINUX_MIB_TIMEWAITRECYCLED); | |
10 | } else if (tw != NULL) { | |
11 | /* Silly. Should hash-dance instead... */ | |
12 | inet_twsk_deschedule(tw, death_row); |