]> asedeno.scripts.mit.edu Git - linux.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)
commit8be3dadf04050c2907760ec1955ca1c8fbc25585
treeb5182e46246b5a2652f8f5a9fdae48cd4dcb1911
parent9addc92730df55e2c05e8d3f69267a89d65bcba8
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