]> git.baikalelectronics.ru Git - kernel.git/commit
packet: Report socket mclist info via diag module
authorPavel Emelyanov <xemul@parallels.com>
Mon, 13 Aug 2012 05:57:44 +0000 (05:57 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Aug 2012 23:56:33 +0000 (16:56 -0700)
commitdad26108fca23b765161f635caacde4029b06612
tree2b8f78565a04701e49b271b670a67fcb362c8022
parentf376025f723ab8ad55856f4e44a6f62235ad6788
packet: Report socket mclist info via diag module

The info is reported as an array of packet_diag_mclist structures. Each
includes not only the directly configured values (index, type, etc), but
also the "count".

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