From: Michael Grzeschik Date: Thu, 17 Sep 2015 13:18:34 +0000 (+0200) Subject: ARCNET: fix hard_header_len limit X-Git-Tag: omap-for-v4.3/fixes-rc5~84^2~56 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=980137a20317055451a73547cf07be4ddea039ee;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed