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

Joe Hershberger joe.hershberger at gmail.com
Thu Oct 29 20:25:03 CET 2015


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>

Applied to u-boot-net/master, thanks!
-Joe


More information about the U-Boot mailing list