[XFRM]: Fix possible overflow of sock->sk_policy
authorHerbert Xu <herbert@gondor.apana.org.au>
Tue, 26 Jul 2005 22:43:17 +0000 (15:43 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 26 Jul 2005 22:43:17 +0000 (15:43 -0700)
commita4f1bac62564049ea4718c4624b0fadc9f597c84
tree294ef690f2b8978ee83b9e4e7dadbfb391ea1f94
parentcadf01c2fc0cd66dfef4956ef1a6482ed01c3150
[XFRM]: Fix possible overflow of sock->sk_policy

Spotted by, and original patch by, Balazs Scheidler.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/xfrm/xfrm_user.c