summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/scsi_debug.c
diff options
context:
space:
mode:
authorChad Dupuis <chad.dupuis@cavium.com>2017-06-26 08:59:32 -0700
committerMartin K. Petersen <martin.petersen@oracle.com>2017-06-27 21:39:09 -0400
commit56ffd3a0500e3b0c133da451036074fd0a8c3f1c (patch)
treee689caac5ae7c7b56b2b880e52e596d1511151d6 /drivers/scsi/scsi_debug.c
parent5c279bd9e40624f4ab6e688671026d6005b066fa (diff)
downloadlinux-56ffd3a0500e3b0c133da451036074fd0a8c3f1c.tar.bz2
scsi: bnx2fc: Add filters to the non-offload FCoE receive path.
Add the following filters to bnx2fc_recv_frame(): 1. Filter out invalid packets - eth->dest_mac[3] matches FC frame's D_ID 2. Filter out packets that are not from our connected target - In FIP_ST_ENABLED mode - eth->src_mac matches fcoe_ctlr->dest_addr 3. Filter out packets where if d_id of the packet doesn't belong to the device when one is already assigned a port_id, only then this packet is dropped Signed-off-by: Chad Dupuis <chad.dupuis@cavium.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/scsi_debug.c')
0 files changed, 0 insertions, 0 deletions