diff options
author | Alex Williamson <alex.williamson@hp.com> | 2009-02-04 09:02:40 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-02-04 16:35:12 -0800 |
commit | 2af7698e2dd698d452ab9d63a9ca5956bbe8fc3b (patch) | |
tree | b4f767eb2b15d85b0f4ebe1cd560b296f44cc8a1 /security | |
parent | 2a41f71d3bd97dde3305b4e1c43ab0eca46e7c71 (diff) |
virtio_net: Add a set_rx_mode interface
Make use of the RX_MODE control virtqueue class to enable the
set_rx_mode netdev interface. This allows us to selectively
enable/disable promiscuous and allmulti mode so we don't see
packets we don't want. For now, we automatically enable these
as needed if additional unicast or multicast addresses are
requested.
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
Acked-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions