net: diag: split inet_diag_dump_one_icsk into two
authorLorenzo Colitti <lorenzo@google.com>
Wed, 16 Dec 2015 03:30:02 +0000 (12:30 +0900)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Dec 2015 04:26:51 +0000 (23:26 -0500)
commitb613f56ec9baf30edf5d9d607b822532a273dad7
treed3b094e516eac4620aceec10b7316f3e0e8bf74b
parentfec65bd4e855c417b8408ed87824f9234fd0d795
net: diag: split inet_diag_dump_one_icsk into two

Currently, inet_diag_dump_one_icsk finds a socket and then dumps
its information to userspace. Split it into a part that finds the
socket and a part that dumps the information.

Signed-off-by: Lorenzo Colitti <lorenzo@google.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/inet_diag.h
net/ipv4/inet_diag.c