Skip to content
Commit 253aa115 authored by David S. Miller's avatar David S. Miller
Browse files

[IPSEC] xfrm_user: Kill PAGE_SIZE check in verify_sec_ctx_len()



First, it warns when PAGE_SIZE >= 64K because the ctx_len
field is 16-bits.

Secondly, if there are any real length limitations it can
be verified by the security layer security_xfrm_state_alloc()
call.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 50bf3e22
Loading
Loading
Loading
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