Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 299961
b: refs/heads/master
c: 518fbf9
h: refs/heads/master
i:
  299959: 19d5178
v: v3
  • Loading branch information
Eric Dumazet authored and David S. Miller committed Apr 30, 2012
1 parent 79a3c70 commit 0db82cc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5414fc12e32a0e0833ec61ba8be864c46cd19966
refs/heads/master: 518fbf9cdf17875d808596afd77fc115a6f942ca
4 changes: 2 additions & 2 deletions trunk/include/net/sock.h
Original file line number Diff line number Diff line change
Expand Up @@ -1129,9 +1129,9 @@ sk_sockets_allocated_read_positive(struct sock *sk)
struct proto *prot = sk->sk_prot;

if (mem_cgroup_sockets_enabled && sk->sk_cgrp)
return percpu_counter_sum_positive(sk->sk_cgrp->sockets_allocated);
return percpu_counter_read_positive(sk->sk_cgrp->sockets_allocated);

return percpu_counter_sum_positive(prot->sockets_allocated);
return percpu_counter_read_positive(prot->sockets_allocated);
}

static inline int
Expand Down

0 comments on commit 0db82cc

Please sign in to comment.