]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'bnx2x-Fix-malicious-VFs-indication'
authorDavid S. Miller <davem@davemloft.net>
Sat, 10 Jun 2017 20:02:56 +0000 (16:02 -0400)
committerDavid S. Miller <davem@davemloft.net>
Sat, 10 Jun 2017 20:02:56 +0000 (16:02 -0400)
commitb169d66d55cbe5531e3352ed6ab48d8eb83895a4
tree8cbd26e7fd48ca3e2b60de0120ae15a1fec0c2a8
parent056e70b845111bf46a3ff6eed71d768f3fb0d81b
parent950e2e87ace0fc08a9a5096366d99895358d9253
Merge branch 'bnx2x-Fix-malicious-VFs-indication'

Yuval Mintz says:

====================
bnx2x: Fix malicious VFs indication

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.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>