diff options
author | Yuejie Shi <syjcnss@gmail.com> | 2017-03-31 09:10:20 +0200 |
---|---|---|
committer | Steffen Klassert <steffen.klassert@secunet.com> | 2017-04-03 08:05:17 +0200 |
commit | 89e357d83c06b6fac581c3ca7f0ee3ae7e67109e (patch) | |
tree | 95c3425ed24cca1ce0b806197c690ca42c1be36b /arch/arm/plat-samsung | |
parent | net: ethernet: ti: cpsw: wake tx queues on ndo_tx_timeout (diff) | |
download | linux-89e357d83c06b6fac581c3ca7f0ee3ae7e67109e.tar.xz linux-89e357d83c06b6fac581c3ca7f0ee3ae7e67109e.zip |
af_key: Add lock to key dump
A dump may come in the middle of another dump, modifying its dump
structure members. This race condition will result in NULL pointer
dereference in kernel. So add a lock to prevent that race.
Fixes: 83321d6b9872 ("[AF_KEY]: Dump SA/SP entries non-atomically")
Signed-off-by: Yuejie Shi <syjcnss@gmail.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'arch/arm/plat-samsung')
0 files changed, 0 insertions, 0 deletions