]> git.baikalelectronics.ru Git - kernel.git/commit
packet: Report rings cfg via diag engine
authorPavel Emelyanov <xemul@parallels.com>
Thu, 16 Aug 2012 05:34:22 +0000 (05:34 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Aug 2012 09:23:14 +0000 (02:23 -0700)
commit48ea57fdb298970351ad138df5c7193199a25d33
tree07695d8703bb3b25a97b5ec3a80b5701daeb111d
parent7e0a29a9ac8a1c4ee0988ded1ef69fbd2bcf946e
packet: Report rings cfg via diag engine

One extension bit may result in two nlattrs -- one per ring type.
If some ring type is not configured, then the respective nlatts
will be empty.

The structure reported contains the data, that is given to the
corresponding ring setup socket option.

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