aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/udp.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv4/udp.c')
-rw-r--r--net/ipv4/udp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/udp.c b/net/ipv4/udp.c
index 02fcccd0486e..cb2411cb87da 100644
--- a/net/ipv4/udp.c
+++ b/net/ipv4/udp.c
@@ -230,7 +230,7 @@ gotit:
230 if (sk_unhashed(sk)) { 230 if (sk_unhashed(sk)) {
231 head = &udptable[snum & (UDP_HTABLE_SIZE - 1)]; 231 head = &udptable[snum & (UDP_HTABLE_SIZE - 1)];
232 sk_add_node(sk, head); 232 sk_add_node(sk, head);
233 sock_prot_inc_use(sk->sk_prot); 233 sock_prot_inuse_add(sk->sk_prot, 1);
234 } 234 }
235 error = 0; 235 error = 0;
236fail: 236fail: