diff options
| author | Chad Dupuis <[email protected]> | 2017-06-26 08:59:32 -0700 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2017-06-27 21:39:09 -0400 |
| commit | 56ffd3a0500e3b0c133da451036074fd0a8c3f1c (patch) | |
| tree | e689caac5ae7c7b56b2b880e52e596d1511151d6 /net/lapb/lapb_iface.c | |
| parent | 5c279bd9e40624f4ab6e688671026d6005b066fa (diff) | |
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 <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions