[SCSI] libfc, fcoe: ignore rx frame with wrong xid info
authorVasu Dev <vasu.dev@intel.com>
Wed, 27 Jul 2011 22:10:39 +0000 (15:10 -0700)
committerJames Bottomley <JBottomley@Parallels.com>
Thu, 28 Jul 2011 08:10:35 +0000 (12:10 +0400)
commit324f667833d7ddd9501ed8c0e3ec5754ddb1b695
tree1dbc7ce23d6c8f3c13f6c977d572be90fb95051b
parent6f06e3a7b2f2d840d42a0c2b9906f444e8f2eba6
[SCSI] libfc, fcoe: ignore rx frame with wrong xid info

Drop the rx frame having xid with wrong cpu info
or received with xid  not matching to our xid.

Not dropping such frame is causing panic as
that causes accessing data struct beyond their
bounds.

Signed-off-by: Vasu Dev <vasu.dev@intel.com>
Tested-by: Ross Brattain <ross.b.brattain@intel.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/fcoe/fcoe.c
drivers/scsi/libfc/fc_exch.c