commit | 76a4201191814a0061cb5c861fafb9ecaa764846 | [log] [tgz] |
---|---|---|
author | Steffen Klassert <steffen.klassert@secunet.com> | Wed Jan 10 12:14:28 2018 +0100 |
committer | Steffen Klassert <steffen.klassert@secunet.com> | Wed Jan 10 12:14:28 2018 +0100 |
tree | 4b0ebc8c3049929f91b2a37d0d0fbfccbbefd407 | |
parent | 1e532d2b49645e7cb76d5af6cb5bc4ec93d861ae [diff] |
xfrm: Fix a race in the xdst pcpu cache. We need to run xfrm_resolve_and_create_bundle() with bottom halves off. Otherwise we may reuse an already released dst_enty when the xfrm lookup functions are called from process context. Fixes: c30d78c14a813db39a647b6a348b428 ("xfrm: add xdst pcpu cache") Reported-by: Darius Ski <darius.ski@gmail.com> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>