Skip to content
Snippets Groups Projects
Commit 9a127aad authored by Dan Carpenter's avatar Dan Carpenter Committed by David S. Miller
Browse files

af_key: return error if pfkey_xfrm_policy2msg_prep() fails


The original code saved the error value but just returned 0 in the end.

Signed-off-by: default avatarDan Carpenter <error27@gmail.com>
Acked-by: default avatarJamal Hadi Salim <hadi@mojatatu.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 03e6d819
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment