Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment