]> git.baikalelectronics.ru Git - kernel.git/commit
[IPSEC] xfrm_user: Kill PAGE_SIZE check in verify_sec_ctx_len()
authorDavid S. Miller <davem@davemloft.net>
Tue, 21 Mar 2006 06:23:35 +0000 (22:23 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Mar 2006 06:23:35 +0000 (22:23 -0800)
commitc65beeab48bd2c7f7e4be34e6f7f7c70aadb6bfa
tree00ff3d18c1a7ead1bca4602385e85b65f012823c
parent1fcff7b866c29c938b8548b11ef13ee932b1e837
[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: David S. Miller <davem@davemloft.net>
net/xfrm/xfrm_user.c