diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/netlink/af_netlink.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/net/netlink/af_netlink.c b/net/netlink/af_netlink.c index 4c5972ba8c78..320d0423a240 100644 --- a/net/netlink/af_netlink.c +++ b/net/netlink/af_netlink.c | |||
@@ -1978,12 +1978,12 @@ static int netlink_seq_show(struct seq_file *seq, void *v) | |||
1978 | if (v == SEQ_START_TOKEN) | 1978 | if (v == SEQ_START_TOKEN) |
1979 | seq_puts(seq, | 1979 | seq_puts(seq, |
1980 | "sk Eth Pid Groups " | 1980 | "sk Eth Pid Groups " |
1981 | "Rmem Wmem Dump Locks Drops\n"); | 1981 | "Rmem Wmem Dump Locks Drops Inode\n"); |
1982 | else { | 1982 | else { |
1983 | struct sock *s = v; | 1983 | struct sock *s = v; |
1984 | struct netlink_sock *nlk = nlk_sk(s); | 1984 | struct netlink_sock *nlk = nlk_sk(s); |
1985 | 1985 | ||
1986 | seq_printf(seq, "%p %-3d %-6d %08x %-8d %-8d %p %-8d %-8d\n", | 1986 | seq_printf(seq, "%p %-3d %-6d %08x %-8d %-8d %p %-8d %-8d %-8lu\n", |
1987 | s, | 1987 | s, |
1988 | s->sk_protocol, | 1988 | s->sk_protocol, |
1989 | nlk->pid, | 1989 | nlk->pid, |
@@ -1992,7 +1992,8 @@ static int netlink_seq_show(struct seq_file *seq, void *v) | |||
1992 | sk_wmem_alloc_get(s), | 1992 | sk_wmem_alloc_get(s), |
1993 | nlk->cb, | 1993 | nlk->cb, |
1994 | atomic_read(&s->sk_refcnt), | 1994 | atomic_read(&s->sk_refcnt), |
1995 | atomic_read(&s->sk_drops) | 1995 | atomic_read(&s->sk_drops), |
1996 | sock_i_ino(s) | ||
1996 | ); | 1997 | ); |
1997 | 1998 | ||
1998 | } | 1999 | } |