inet_diag: Switch from _GETSOCK to IPPROTO_ numbers
authorPavel Emelyanov <xemul@parallels.com>
Tue, 6 Dec 2011 08:05:24 +0000 (08:05 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 6 Dec 2011 18:58:01 +0000 (13:58 -0500)
commitf13c95f0e255e6d21762259875295cc212e6bc32
treead60d56913b6be75b8735632af675a47f996c76d
parent37f352b5e3e89337f7a9a3a90250b5dde3c5f40d
inet_diag: Switch from _GETSOCK to IPPROTO_ numbers

Sorry, but the vger didn't let this message go to the list. Re-sending it with
less spam-filter-prone subject.

When dumping the AF_INET/AF_INET6 sockets user will also specify the protocol,
so prepare the protocol diag handlers to work with IPPROTO_ constants.

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dccp/diag.c
net/ipv4/inet_diag.c
net/ipv4/tcp_diag.c