Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 313875
b: refs/heads/master
c: d594e98
h: refs/heads/master
i:
  313873: 03d9bbd
  313871: 5ab7ca7
v: v3
  • Loading branch information
Eric Dumazet authored and David S. Miller committed Jun 4, 2012
1 parent 04d1853 commit ed2a3fa
Show file tree
Hide file tree
Showing 3 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: 5d0ba55b6486f58cc890918d7167063d83f7fbb4
refs/heads/master: d594e987c6f5417cc63dd7e107a2a03a7eeee03f
1 change: 1 addition & 0 deletions trunk/include/linux/sock_diag.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ enum {
SK_MEMINFO_FWD_ALLOC,
SK_MEMINFO_WMEM_QUEUED,
SK_MEMINFO_OPTMEM,
SK_MEMINFO_BACKLOG,

SK_MEMINFO_VARS,
};
Expand Down
1 change: 1 addition & 0 deletions trunk/net/core/sock_diag.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ int sock_diag_put_meminfo(struct sock *sk, struct sk_buff *skb, int attrtype)
mem[SK_MEMINFO_FWD_ALLOC] = sk->sk_forward_alloc;
mem[SK_MEMINFO_WMEM_QUEUED] = sk->sk_wmem_queued;
mem[SK_MEMINFO_OPTMEM] = atomic_read(&sk->sk_omem_alloc);
mem[SK_MEMINFO_BACKLOG] = sk->sk_backlog.len;

return 0;

Expand Down

0 comments on commit ed2a3fa

Please sign in to comment.