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>
Showing
- include/linux/inet_diag.h 0 additions, 1 deletioninclude/linux/inet_diag.h
- include/linux/sock_diag.h 3 additions, 0 deletionsinclude/linux/sock_diag.h
- net/core/sock_diag.c 19 additions, 0 deletionsnet/core/sock_diag.c
- net/ipv4/inet_diag.c 4 additions, 19 deletionsnet/ipv4/inet_diag.c
- net/ipv4/udp_diag.c 1 addition, 1 deletionnet/ipv4/udp_diag.c
Please register or sign in to comment