Skip to content
Commit b0fcc48c authored by Rasmus Villemoes's avatar Rasmus Villemoes Committed by Tom Rini
Browse files

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: default avatarRasmus Villemoes <rasmus.villemoes@prevas.dk>
Reviewed-by: default avatarRamon Fried <rfried.dev@gmail.com>
parent e9d3fc7e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment