+8
−4
Loading
Move the out_free_req label up by a couple of lines so that the allocated dst SG list gets freed on error as well as success. Fixes: eb2953d2 ("xfrm: ipcomp: Use crypto_acomp interface") Cc: stable@kernel.org Reported-by:Yuan Tan <yuantan098@gmail.com> Reported-by:
Yifan Wu <yifanwucs@gmail.com> Reported-by:
Juefei Pu <tomapufckgml@gmail.com> Reported-by:
Xin Liu <bird@lzu.edu.cn> Reported-by:
Yilin Zhu <zylzyl2333@gmail.com> Signed-off-by:
Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by:
Steffen Klassert <steffen.klassert@secunet.com>