Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 184587
b: refs/heads/master
c: cf0aa4e
h: refs/heads/master
i:
  184585: 854558b
  184583: 4e42d19
v: v3
  • Loading branch information
Masatake YAMATO authored and David S. Miller committed Feb 28, 2010
1 parent e29e1c2 commit 6a11aad
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 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: 60bbc725b5b3009bb1bf2628ce5033d9bc108881
refs/heads/master: cf0aa4e07c32b0c211c24742aa015c0e7a135293
7 changes: 4 additions & 3 deletions trunk/net/netlink/af_netlink.c
Original file line number Diff line number Diff line change
Expand Up @@ -1978,12 +1978,12 @@ static int netlink_seq_show(struct seq_file *seq, void *v)
if (v == SEQ_START_TOKEN)
seq_puts(seq,
"sk Eth Pid Groups "
"Rmem Wmem Dump Locks Drops\n");
"Rmem Wmem Dump Locks Drops Inode\n");
else {
struct sock *s = v;
struct netlink_sock *nlk = nlk_sk(s);

seq_printf(seq, "%p %-3d %-6d %08x %-8d %-8d %p %-8d %-8d\n",
seq_printf(seq, "%p %-3d %-6d %08x %-8d %-8d %p %-8d %-8d %-8lu\n",
s,
s->sk_protocol,
nlk->pid,
Expand All @@ -1992,7 +1992,8 @@ static int netlink_seq_show(struct seq_file *seq, void *v)
sk_wmem_alloc_get(s),
nlk->cb,
atomic_read(&s->sk_refcnt),
atomic_read(&s->sk_drops)
atomic_read(&s->sk_drops),
sock_i_ino(s)
);

}
Expand Down

0 comments on commit 6a11aad

Please sign in to comment.