]> git.baikalelectronics.ru Git - kernel.git/commit
Fnic: Memcopy only mimumum of data or trace buffer
authorHiral Shah <hishah@cisco.com>
Mon, 10 Nov 2014 20:54:33 +0000 (12:54 -0800)
committerChristoph Hellwig <hch@lst.de>
Thu, 20 Nov 2014 08:10:23 +0000 (09:10 +0100)
commit74bf0413ecaa9e5ae7d9a8a89e96dbe1c30628f0
tree8fb22d977359820b024433d50ca04f9f29c230dd
parent27459b09ece75fd8e9319c8920d997e1ca53d701
Fnic: Memcopy only mimumum of data or trace buffer

In case of receive path, we do not have eth header or fcoe header available
when we take a trace so we fill the fc trace buffer with 0xff for both
values. We copy only mimimum of received data or trace buffer size -
fc header - eth and fcoe header

- Increment fnic version from 1.6.0.12 to 1.6.0.13

Signed-off-by: Hiral Shah <hishah@cisco.com>
Signed-off-by: Sesidhar Baddela <sebaddel@cisco.com>
Signed-off-by: Anil Chintalapati <achintal@cisco.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/fnic/fnic.h
drivers/scsi/fnic/fnic_trace.c