commit | 9ac2c5c3e0fc0978fe0984ebf64015c7d5196b8c | [log] [tgz] |
---|---|---|
author | Rasmus Villemoes <rasmus.villemoes@prevas.dk> | Fri Oct 14 19:43:37 2022 +0200 |
committer | Tom Rini <trini@konsulko.com> | Mon Nov 28 10:25:18 2022 -0500 |
tree | 8a2d0355d1bdea64b604cf0af897bdfc321ae281 | |
parent | 3e8a1be24dba4e6db2f629510ced58c5ce414ee5 [diff] |
net: improve check for no IP options 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 <rasmus.villemoes@prevas.dk> Reviewed-by: Ramon Fried <rfried.dev@gmail.com>