aboutsummaryrefslogtreecommitdiffstats
path: root/net/sctp/socket.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/sctp/socket.c')
-rw-r--r--net/sctp/socket.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/sctp/socket.c b/net/sctp/socket.c
index f03af84edf63..ba81fe3ccab8 100644
--- a/net/sctp/socket.c
+++ b/net/sctp/socket.c
@@ -3633,7 +3633,9 @@ SCTP_STATIC void sctp_destroy_sock(struct sock *sk)
3633 ep = sctp_sk(sk)->ep; 3633 ep = sctp_sk(sk)->ep;
3634 sctp_endpoint_free(ep); 3634 sctp_endpoint_free(ep);
3635 atomic_dec(&sctp_sockets_allocated); 3635 atomic_dec(&sctp_sockets_allocated);
3636 local_bh_disable();
3636 sock_prot_inuse_add(sock_net(sk), sk->sk_prot, -1); 3637 sock_prot_inuse_add(sock_net(sk), sk->sk_prot, -1);
3638 local_bh_enable();
3637} 3639}
3638 3640
3639/* API 4.1.7 shutdown() - TCP Style Syntax 3641/* API 4.1.7 shutdown() - TCP Style Syntax