mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-11 13:27:06 +09:00
Merge tag 'v4.9.206' of git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable into odroidg12-4.9.y
This is the 4.9.206 stable release
This commit is contained in:
@@ -1202,6 +1202,9 @@ struct sctp_ep_common {
|
||||
/* What socket does this endpoint belong to? */
|
||||
struct sock *sk;
|
||||
|
||||
/* Cache netns and it won't change once set */
|
||||
struct net *net;
|
||||
|
||||
/* This is where we receive inbound chunks. */
|
||||
struct sctp_inq inqueue;
|
||||
|
||||
|
||||
@@ -1202,7 +1202,7 @@ static inline void sk_sockets_allocated_inc(struct sock *sk)
|
||||
percpu_counter_inc(sk->sk_prot->sockets_allocated);
|
||||
}
|
||||
|
||||
static inline int
|
||||
static inline u64
|
||||
sk_sockets_allocated_read_positive(struct sock *sk)
|
||||
{
|
||||
return percpu_counter_read_positive(sk->sk_prot->sockets_allocated);
|
||||
|
||||
Reference in New Issue
Block a user