Skip to content
Commit 30260501 authored by Dan Carpenter's avatar Dan Carpenter Committed by Sebastian Reichel
Browse files

HSI: ssi_protocol: double free in ssip_pn_xmit()



If skb_pad() fails then it frees skb and we don't need to free it again
at the end of the function.

Fixes: dc7bf5d7 ("HSI: Introduce driver for SSI Protocol")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarSebastian Reichel <sre@kernel.org>
parent c1ae3cfa
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment