]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: fcoe: correct sending FIP VLAN packets on VLAN 0
authorHannes Reinecke <hare@suse.de>
Thu, 13 Oct 2016 13:10:59 +0000 (15:10 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 8 Nov 2016 22:29:53 +0000 (17:29 -0500)
commit10dda8f173c5be9be9aadf384c09b6552b188658
treeb488c4ac9a573bee55a385c6a387e686fb31ee19
parentbe6833702241d2b0bc7178a3433d3b4b0542b7e2
scsi: fcoe: correct sending FIP VLAN packets on VLAN 0

The FIP VLAN frame consists of an ethernet header followed
by the FIP VLAN frame, so we need to skip the ethernet header
if we want to check the FIP opcode.

Signed-off-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Bart Van Assche <bart.vanassche@sandisk.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/fcoe/fcoe.c