Re: [PATCH v5] net: stmmac: fix maxmtu assignment to be within valid range

From: David Miller
Date: Sun Jan 08 2017 - 18:21:09 EST


From: "Kweh, Hock Leong" <hock.leong.kweh@xxxxxxxxx>
Date: Sat, 7 Jan 2017 17:32:03 +0800

> From: "Kweh, Hock Leong" <hock.leong.kweh@xxxxxxxxx>
>
> There is no checking valid value of maxmtu when getting it from
> device tree. This resolution added the checking condition to
> ensure the assignment is made within a valid range.
>
> Signed-off-by: Kweh, Hock Leong <hock.leong.kweh@xxxxxxxxx>

Applied, thank you.