summaryrefslogtreecommitdiffstats
path: root/drivers/net/tun.c
diff options
context:
space:
mode:
authorYuval Mintz2014-03-23 17:12:27 +0100
committerDavid S. Miller2014-03-26 02:07:04 +0100
commit16bd41dda9c95c813f7e24b3b7300614a156b2d8 (patch)
tree0108ec0f57decf70773d3466688c6cc9688952cb /drivers/net/tun.c
parentbnx2x: Don't show port statistics for VFs (diff)
downloadkernel-qcow2-linux-16bd41dda9c95c813f7e24b3b7300614a156b2d8.tar.gz
kernel-qcow2-linux-16bd41dda9c95c813f7e24b3b7300614a156b2d8.tar.xz
kernel-qcow2-linux-16bd41dda9c95c813f7e24b3b7300614a156b2d8.zip
bnx2x: Don't allow VFs to become promiscuous
Currently, if a VF's Rx Mode will be configured to support promiscuous mode the PF will comply, causing the VF to actually become promiscuous. This will enable the VF to see all unicast traffic which might be intended for other VMs, which we believe should not be possible. This patch will cause the hypervisor to ignore the VF's request for changes in its Rx mode (other than disabling it), preventing it from becoming promiscuous. Reported-by: Yoann Juet <yoann.juet@univ-nantes.fr> Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com> Signed-off-by: Ariel Elior <Ariel.Elior@qlogic.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/tun.c')
0 files changed, 0 insertions, 0 deletions