]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
af_key: initialize xfrm encap_oa
authorTimo Teras <timo.teras@iki.fi>
Mon, 26 Jan 2009 04:49:14 +0000 (20:49 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 26 Jan 2009 04:49:14 +0000 (20:49 -0800)
commita8d694c651356ec89452e15b0189c061fb7e1cf1
tree58c33e52bf6aeda0a230eb2f7797051c46d83947
parente918085aaff34086e265f825dd469926b1aec4a4
af_key: initialize xfrm encap_oa

Currently encap_oa is left uninitialized, so it contains garbage data which
is visible to userland via Netlink. Initialize it by zeroing it out.

Signed-off-by: Timo Teras <timo.teras@iki.fi>
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/key/af_key.c