[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20161026.172909.588275737782880653.davem@davemloft.net>
Date: Wed, 26 Oct 2016 17:29:09 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: stefanr@...6.in-berlin.de
Cc: netdev@...r.kernel.org, linux1394-devel@...ts.sourceforge.net,
jarod@...hat.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH net-next 1/2] firewire: net: fix maximum possible MTU
From: Stefan Richter <stefanr@...6.in-berlin.de>
Date: Sun, 23 Oct 2016 16:29:03 +0200
> Commit b3e3893e1253 ("net: use core MTU range checking in misc drivers")
> mistakenly introduced an upper limit for firewire-net's MTU based on the
> local link layer controller's reception capability. Revert this. Neither
> RFC 2734 nor our implementation impose any particular upper limit.
>
> Actually, to be on the safe side and to make the code explicit, set
> ETH_MAX_MTU = 65535 as upper limit now.
>
> (I replaced sizeof(struct rfc2734_header) by the equivalent
> RFC2374_FRAG_HDR_SIZE in order to avoid distracting long/int conversions.)
>
> Fixes: b3e3893e1253('net: use core MTU range checking in misc drivers')
> CC: netdev@...r.kernel.org
> CC: linux1394-devel@...ts.sourceforge.net
> CC: Jarod Wilson <jarod@...hat.com>
> Signed-off-by: Stefan Richter <stefanr@...6.in-berlin.de>
Applied.
Powered by blists - more mailing lists