summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/mesh.c
diff options
context:
space:
mode:
authorMichael Grzeschik <m.grzeschik@pengutronix.de>2015-09-17 15:18:34 +0200
committerDavid S. Miller <davem@davemloft.net>2015-09-18 07:26:55 +0200
commit980137a20317055451a73547cf07be4ddea039ee (patch)
treeff74dc6677ae5068ede74255215e1f8239bd1c89 /drivers/scsi/mesh.c
parentMerge branch 'for-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/... (diff)
downloadlinux-980137a20317055451a73547cf07be4ddea039ee.tar.xz
linux-980137a20317055451a73547cf07be4ddea039ee.zip
ARCNET: fix hard_header_len limit
For arcnet the bare minimum header only contains the 4 bytes to specify source, dest and offset (1, 1 and 2 bytes respectively). The corresponding struct is struct arc_hardware. The struct archdr contains additionally a union of possible soft headers. When doing $insertusecasehere packets might well include short (or even no?) soft headers. For this reason only use arc_hardware instead of archdr to determine the hard_header_len for an arcnet device. Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/scsi/mesh.c')
0 files changed, 0 insertions, 0 deletions