xfrm: Fix crashes in xfrm_lookup()
authorTimo Teräs <timo.teras@iki.fi>
Thu, 8 Apr 2010 18:27:42 +0000 (11:27 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 8 Apr 2010 18:27:42 +0000 (11:27 -0700)
commite4077e018b5ead3de9951fc01d8bf12eeeeeefed
treef360f4ecacba17132c81ac37b6b737f1458f2d02
parent0a5bff744a6263d397f88671ed2f772da9c64989
xfrm: Fix crashes in xfrm_lookup()

From: Timo Teräs <timo.teras@iki.fi>

Happens because CONFIG_XFRM_SUB_POLICY is not enabled, and one of
the helper functions I used did unexpected things in that case.

Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/xfrm.h