git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
876fc03
)
xfrm: Fix NULL pointer dereference on sub policy usage
author
Steffen Klassert
<steffen.klassert@secunet.com>
Wed, 19 Feb 2014 12:33:23 +0000
(13:33 +0100)
committer
Steffen Klassert
<steffen.klassert@secunet.com>
Thu, 20 Feb 2014 13:29:58 +0000
(14:29 +0100)
xfrm_state_sort() takes the unsorted states from the src array
and stores them into the dst array. We try to get the namespace
from the dst array which is empty at this time, so take the
namespace from the src array instead.
Fixes:
283bc9f35bbbc
("xfrm: Namespacify xfrm state/policy locks")
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
No differences found