summaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorSteffen Klassert <steffen.klassert@secunet.com>2014-02-19 10:07:34 +0100
committerSteffen Klassert <steffen.klassert@secunet.com>2014-02-26 09:52:02 +0100
commit3a9016f97fdc8bfbb26ff36ba8f3dc9162eb691b (patch)
tree29319c7ec9ab7035398c1bef2bdbccd3cee718a2 /include/net
parentee5c23176fcc820f7a56d3e86001532af0d59b1e (diff)
downloadop-kernel-dev-3a9016f97fdc8bfbb26ff36ba8f3dc9162eb691b.zip
op-kernel-dev-3a9016f97fdc8bfbb26ff36ba8f3dc9162eb691b.tar.gz
xfrm: Fix unlink race when policies are deleted.
When a policy is unlinked from the lists in thread context, the xfrm timer can fire before we can mark this policy as dead. So reinitialize the bydst hlist, then hlist_unhashed() will notice that this policy is not linked and will avoid a doulble unlink of that policy. Reported-by: Xianpeng Zhao <673321875@qq.com> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'include/net')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud