]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite9ff55b1316e9d7b4ba9b4155712fa13bc1c9a7e
treed3b094e516eac4620aceec10b7316f3e0e8bf74b
parentfb9f77a81e434c73ca599cb72ee3fd29ee0148b5
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