[U-Boot] [PATCH 1/2] net: reject Bootp/DHCP packets with bad OP value

Joe Hershberger joe.hershberger at gmail.com
Thu Sep 3 23:43:55 CEST 2015


Hi Stefan,

On Thu, Aug 27, 2015 at 4:53 PM, Stefan Brüns
<stefan.bruens at rwth-aachen.de> wrote:
> Rename check_packet to check_reply_packet to make its function more
> obvious.
> The check for DHCP_* values is completely off, as it should
> compare against DHCP option 53 (Message Type). Only valid value for
> any Bootp/DHCP reply is BOOTREPLY.
>
> Signed-off-by: Stefan Brüns <stefan.bruens at rwth-aachen.de>

Acked-by: Joe Hershberger <joe.hershberger at ni.com>


More information about the U-Boot mailing list