diff options
| author | Li RongQing <roy.qing.li@gmail.com> | 2015-04-29 08:42:44 +0800 |
|---|---|---|
| committer | Steffen Klassert <steffen.klassert@secunet.com> | 2015-04-29 13:53:46 +0200 |
| commit | bdddbf6996c0b9299efc97b8f66e06286f3aa8c9 (patch) | |
| tree | 504d61ae096e3b3e4272b877638b49db2d33da22 /tools/perf/scripts/python | |
| parent | Merge git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf (diff) | |
| download | linux-bdddbf6996c0b9299efc97b8f66e06286f3aa8c9.tar.gz linux-bdddbf6996c0b9299efc97b8f66e06286f3aa8c9.zip | |
xfrm: fix a race in xfrm_state_lookup_byspi
The returned xfrm_state should be hold before unlock xfrm_state_lock,
otherwise the returned xfrm_state maybe be released.
Fixes: c454997e6[{pktgen, xfrm} Introduce xfrm_state_lookup_byspi..]
Cc: Fan Du <fan.du@intel.com>
Signed-off-by: Li RongQing <roy.qing.li@gmail.com>
Acked-by: Fan Du <fan.du@intel.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
