Re: [PATCH][RESEND] ARCNET: fix hard_header_len limit

From: David Miller
Date: Fri Sep 18 2015 - 01:27:18 EST


From: Michael Grzeschik <m.grzeschik@xxxxxxxxxxxxxx>
Date: Thu, 17 Sep 2015 15:18:34 +0200

> 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@xxxxxxxxxxxxxx>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/