]> git.baikalelectronics.ru Git - kernel.git/commit
qed: Fix iWARP syn packet mac address validation.
authorMichal Kalderon <michal.kalderon@marvell.com>
Mon, 18 Feb 2019 13:24:03 +0000 (15:24 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Feb 2019 00:51:54 +0000 (16:51 -0800)
commit30d939657dc782dc2005a67a9419a74b8be8e4f2
treeb5182e46246b5a2652f8f5a9fdae48cd4dcb1911
parent8bffa0a38d4d332288d266b329d0644fde6d4cc0
qed: Fix iWARP syn packet mac address validation.

The ll2 forwards all syn packets to the driver without validating the mac
address. Add validation check in the driver's iWARP listener flow and drop
the packet if it isn't intended for the device.

Signed-off-by: Ariel Elior <ariel.elior@marvell.com>
Signed-off-by: Michal Kalderon <michal.kalderon@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed_iwarp.c