sock_diag: Generalize requests cookies managements
authorPavel Emelyanov <xemul@parallels.com>
Thu, 15 Dec 2011 02:43:44 +0000 (02:43 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 16 Dec 2011 18:48:27 +0000 (13:48 -0500)
commitf65c1b534b99aef1809b893387b295963821549f
tree0718e1598b4d01c4c1817a3c663a312616f0dddd
parentaec8dc62f66199aef153d86e1f90d9c1d14696e3
sock_diag: Generalize requests cookies managements

The sk address is used as a cookie between dump/get_exact calls.
It will be required for unix socket sdumping, so move it from
inet_diag to sock_diag.

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/inet_diag.h
include/linux/sock_diag.h
net/core/sock_diag.c
net/ipv4/inet_diag.c
net/ipv4/udp_diag.c