]> 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)
commit102144236663cc69ae68357864470b42e1aee4b5
tree2b8f78565a04701e49b271b670a67fcb362c8022
parent91a9808d3858e7ee23639a8304467b1808d9202f
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