You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After the elimination of inner modes, a couple of warnings that
were previously unreachable can now be triggered by malformed
inbound packets.
Fix this by:
1. Moving the setting of skb->protocol into the decap functions.
2. Returning -EINVAL when unexpected protocol is seen.
Reported-by: Maciej Żenczykowski<[email protected]>
Fixes: 5f24f41 ("xfrm: Remove inner/outer modes from input path")
Signed-off-by: Herbert Xu <[email protected]>
Reviewed-by: Maciej Żenczykowski <[email protected]>
Signed-off-by: Steffen Klassert <[email protected]>
0 commit comments