sock-diag: Report shutdown for inet and unix sockets (v2)
authorPavel Emelyanov <xemul@parallels.com>
Tue, 23 Oct 2012 18:29:56 +0000 (22:29 +0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Oct 2012 18:57:52 +0000 (14:57 -0400)
commite4e541a84863b6a41f2427f59cc9156c644491a8
tree304a67f5b5872ea57a3af5f3d8a87de0f6c10487
parent5a85d716ab69035138cc49b5a71686343abc950b
sock-diag: Report shutdown for inet and unix sockets (v2)

Make it simple -- just put new nlattr with just sk->sk_shutdown bits.

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/inet_diag.h
include/uapi/linux/unix_diag.h
net/ipv4/inet_diag.c
net/unix/diag.c