Netdev List
 help / color / mirror / Atom feed
* [PATCH net 0/2] bnx2x: Fix malicious VFs indication
@ 2017-06-09 14:17 Yuval Mintz
  2017-06-09 14:17 ` [PATCH net 1/2] bnx2x: Allow vfs to disable txvlan offload Yuval Mintz
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Yuval Mintz @ 2017-06-09 14:17 UTC (permalink / raw)
  To: davem, netdev; +Cc: mschmidt, Yuval Mintz

It was discovered that for a VF there's a simple [yet uncommon] scenario
which would cause device firmware to declare that VF as malicious -
Add a vlan interface on top of a VF and disable txvlan offloading for
that VF [causing VF to transmit packets where vlan is on payload].

Patch #1 corrects driver transmission to prevent this issue.
Patch #2 is a by-product correcting PF behavior once a VF is declared
malicious.

Dave,

Please consider applying these to 'net'.

Thanks,
Yuval

Yuval Mintz (2):
  bnx2x: Allow vfs to disable txvlan offload
  bnx2x: Don't post statistics to malicious VFs

 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c   | 19 +++++++++++++++----
 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c | 13 ++++++++++++-
 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h |  1 +
 3 files changed, 28 insertions(+), 5 deletions(-)

-- 
2.9.4

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-06-10 20:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-09 14:17 [PATCH net 0/2] bnx2x: Fix malicious VFs indication Yuval Mintz
2017-06-09 14:17 ` [PATCH net 1/2] bnx2x: Allow vfs to disable txvlan offload Yuval Mintz
2017-06-09 14:17 ` [PATCH net 2/2] bnx2x: Don't post statistics to malicious VFs Yuval Mintz
2017-06-10 20:03 ` [PATCH net 0/2] bnx2x: Fix malicious VFs indication David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox