]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/ipv4/udp.c
[NET]: prot_inuse cleanups and optimizations
[linux-2.6-omap-h63xx.git] / net / ipv4 / udp.c
index 02fcccd0486ea94daa24449f4946ec1399cf19fe..cb2411cb87daccd7644fca5ba56e3362c46f2f8a 100644 (file)
@@ -230,7 +230,7 @@ gotit:
        if (sk_unhashed(sk)) {
                head = &udptable[snum & (UDP_HTABLE_SIZE - 1)];
                sk_add_node(sk, head);
-               sock_prot_inc_use(sk->sk_prot);
+               sock_prot_inuse_add(sk->sk_prot, 1);
        }
        error = 0;
 fail: