[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150917.222714.700195258551388830.davem@davemloft.net>
Date: Thu, 17 Sep 2015 22:27:14 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: m.grzeschik@...gutronix.de
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
kernel@...gutronix.de
Subject: Re: [PATCH][RESEND] ARCNET: fix hard_header_len limit
From: Michael Grzeschik <m.grzeschik@...gutronix.de>
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@...gutronix.de>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists