]> git.baikalelectronics.ru Git - kernel.git/commit
inet_diag: Export inet diag cookie checking routine
authorPavel Emelyanov <xemul@parallels.com>
Fri, 9 Dec 2011 06:21:53 +0000 (06:21 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Dec 2011 19:14:08 +0000 (14:14 -0500)
commit5c2d4ea0da32507370ca9d00d1bfab0484f69c09
treec0a057c74dae2fbcc3118a69b0ca3ed5504d3029
parentb060385026352926f099ece76852b28734899363
inet_diag: Export inet diag cookie checking routine

The netlink diag susbsys stores sk address bits in the nl message
as a "cookie" and uses one when dumps details about particular
socket.

The same will be required for udp diag module, so introduce a heler
in inet_diag module

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