summaryrefslogtreecommitdiffstats
path: root/net/phonet/socket.c
diff options
context:
space:
mode:
authorRémi Denis-Courmont <remi.denis-courmont@nokia.com>2011-02-24 23:14:57 +0000
committerDavid S. Miller <davem@davemloft.net>2011-02-25 11:19:35 -0800
commita8059512b120362b15424f152b2548fe8b11bd0c (patch)
tree11ad07ca3fa5b0ad03e1f8f6d8bac804612d0530 /net/phonet/socket.c
parent96241544ca34721d601925850868188d6304cc0f (diff)
downloadlinux-a8059512b120362b15424f152b2548fe8b11bd0c.tar.gz
linux-a8059512b120362b15424f152b2548fe8b11bd0c.tar.bz2
linux-a8059512b120362b15424f152b2548fe8b11bd0c.zip
Phonet: implement per-socket destination/peer address
Signed-off-by: Rémi Denis-Courmont <remi.denis-courmont@nokia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/phonet/socket.c')
-rw-r--r--net/phonet/socket.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/phonet/socket.c b/net/phonet/socket.c
index ceb5143f5ef9..65a03338769e 100644
--- a/net/phonet/socket.c
+++ b/net/phonet/socket.c
@@ -633,8 +633,8 @@ static int pn_sock_seq_show(struct seq_file *seq, void *v)
seq_printf(seq, "%2d %04X:%04X:%02X %02X %08X:%08X %5d %lu "
"%d %p %d%n",
- sk->sk_protocol, pn->sobject, 0, pn->resource,
- sk->sk_state,
+ sk->sk_protocol, pn->sobject, pn->dobject,
+ pn->resource, sk->sk_state,
sk_wmem_alloc_get(sk), sk_rmem_alloc_get(sk),
sock_i_uid(sk), sock_i_ino(sk),
atomic_read(&sk->sk_refcnt), sk,