]> err.no Git - linux-2.6/blobdiff - net/ipv6/inet6_hashtables.c
video: sh7760fb: SH7760/SH7763 LCDC framebuffer driver
[linux-2.6] / net / ipv6 / inet6_hashtables.c
index a9cc8ab33a49c6ebc1660caa684b0a3d775663fd..00a8a5f9380c3d454419c75074a5eccf3c2bc4f7 100644 (file)
@@ -210,11 +210,11 @@ unique:
 
        if (twp != NULL) {
                *twp = tw;
-               NET_INC_STATS_BH(LINUX_MIB_TIMEWAITRECYCLED);
+               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);
-               NET_INC_STATS_BH(LINUX_MIB_TIMEWAITRECYCLED);
+               NET_INC_STATS_BH(twsk_net(tw), LINUX_MIB_TIMEWAITRECYCLED);
 
                inet_twsk_put(tw);
        }