]> git.baikalelectronics.ru Git - kernel.git/commit
sfc: check ef100 RX packets are from the wire
authorEdward Cree <ecree.xilinx@gmail.com>
Thu, 28 Jul 2022 18:57:47 +0000 (19:57 +0100)
committerJakub Kicinski <kuba@kernel.org>
Sat, 30 Jul 2022 04:22:06 +0000 (21:22 -0700)
commitd96a804114b00bdfa705eb9106aaa7cb62cf2fcb
treee668ca324c16131bd8a3455d4fb1d5ae9a97422c
parentf6481870eb2fe8bad2f3218c99777490c1450c43
sfc: check ef100 RX packets are from the wire

If not, for now drop them and warn.  A subsequent patch will look up
 the source m-port to try and find a representor to deliver them to.

Signed-off-by: Edward Cree <ecree.xilinx@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/sfc/ef100_rx.c
drivers/net/ethernet/sfc/ethtool_common.c
drivers/net/ethernet/sfc/net_driver.h