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)
commiteea68e2f1a0061e09265992b91fdc0014930ae92
tree2b8f78565a04701e49b271b670a67fcb362c8022
parent8a360be0c5f8fe2c46f0a524886fa56596534193
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