qed: Fix non TCP packets should be dropped on iWARP ll2 connection
authorMichal Kalderon <Michal.Kalderon@cavium.com>
Wed, 14 Mar 2018 12:49:28 +0000 (14:49 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 16 Mar 2018 16:13:50 +0000 (12:13 -0400)
commit16da09047d3fb991dc48af41f6d255fd578e8ca2
treecaee9abe602766634b66c10b5d269422bb9ab902
parent933e8c91b9f5a2f504f6da1f069c410449b9f4b9
qed: Fix non TCP packets should be dropped on iWARP ll2 connection

FW workaround. The iWARP LL2 connection did not expect TCP packets
to arrive on it's connection. The fix drops any non-tcp packets

Fixes b5c29ca ("qed: iWARP CM - setup a ll2 connection for handling
SYN packets")

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