Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 121883
b: refs/heads/master
c: 9a57f7f
h: refs/heads/master
i:
  121881: 541f9fe
  121879: d9fd2fc
v: v3
  • Loading branch information
Eric Dumazet authored and David S. Miller committed Nov 17, 2008
1 parent 374fb35 commit 8a15c5e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a8076d8db98de6da61394b2e942320e4612643ac
refs/heads/master: 9a57f7fabd383920585ed8b74eacd117c6551f2d
2 changes: 2 additions & 0 deletions trunk/net/sctp/socket.c
Original file line number Diff line number Diff line change
Expand Up @@ -3614,6 +3614,7 @@ SCTP_STATIC int sctp_init_sock(struct sock *sk)

SCTP_DBG_OBJCNT_INC(sock);
atomic_inc(&sctp_sockets_allocated);
sock_prot_inuse_add(sock_net(sk), sk->sk_prot, 1);
return 0;
}

Expand All @@ -3628,6 +3629,7 @@ SCTP_STATIC void sctp_destroy_sock(struct sock *sk)
ep = sctp_sk(sk)->ep;
sctp_endpoint_free(ep);
atomic_dec(&sctp_sockets_allocated);
sock_prot_inuse_add(sock_net(sk), sk->sk_prot, -1);
}

/* API 4.1.7 shutdown() - TCP Style Syntax
Expand Down

0 comments on commit 8a15c5e

Please sign in to comment.