diff options
author | Timo Teräs <[email protected]> | 2010-07-12 21:29:42 +0000 |
---|---|---|
committer | David S. Miller <[email protected]> | 2010-07-14 14:16:48 -0700 |
commit | d809ec895505e6f35fb1965f0946381ab4eaa474 (patch) | |
tree | 479a8937a4fd736ed5db9d87bb3ff81ee60f5cd5 /tools/perf/util/trace-event-scripting.c | |
parent | ab83a38958ae7e419f18fabe9b2954a6087bfe0d (diff) |
xfrm: do not assume that template resolving always returns xfrms
xfrm_resolve_and_create_bundle() assumed that, if policies indicated
presence of xfrms, bundle template resolution would always return
some xfrms. This is not true for 'use' level policies which can
result in no xfrm's being applied if there is no suitable xfrm states.
This fixes a crash by this incorrect assumption.
Reported-by: George Spelvin <[email protected]>
Bisected-by: George Spelvin <[email protected]>
Tested-by: George Spelvin <[email protected]>
Signed-off-by: Timo Teräs <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions