On Fri, Jun 01, 2018 at 10:59:25AM +0300, Dan Carpenter wrote: > We call chtls_free_skb() but then we dereference it on the next lines. > Also "skb" can't be NULL, we just dereferenced it on the line before. > > I have moved the free down a couple lines to fix this issue. > > Fixes: 17a7d24aa89d ("crypto: chtls - generic handling of data and hdr") > Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> Patch applied. Thanks. -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt -- To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html