Re: [PATCH 1/6] net: improve check for no IP options

2022-11-28 Thread Tom Rini
On Fri, Oct 14, 2022 at 07:43:37PM +0200, Rasmus Villemoes wrote: > There's no reason we should accept an IP packet with a malformed IHL > field. So ensure that it is exactly 5, not just <= 5. > > Signed-off-by: Rasmus Villemoes > Reviewed-by: Ramon Fried Applied to u-boot/master, thanks! --

Re: [PATCH 1/6] net: improve check for no IP options

2022-10-16 Thread Ramon Fried
On Fri, Oct 14, 2022 at 8:43 PM Rasmus Villemoes wrote: > > There's no reason we should accept an IP packet with a malformed IHL > field. So ensure that it is exactly 5, not just <= 5. > > Signed-off-by: Rasmus Villemoes > --- > net/net.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >

[PATCH 1/6] net: improve check for no IP options

2022-10-14 Thread Rasmus Villemoes
There's no reason we should accept an IP packet with a malformed IHL field. So ensure that it is exactly 5, not just <= 5. Signed-off-by: Rasmus Villemoes --- net/net.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/net.c b/net/net.c index 81905f6315..536731245b 100644 -