linux-brain/drivers/hsi
Dan Carpenter 2b09da0e77 HSI: ssi_protocol: double free in ssip_pn_xmit()
[ Upstream commit 3026050179 ]

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: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-03-24 11:00:12 +01:00
..
clients HSI: ssi_protocol: double free in ssip_pn_xmit() 2018-03-24 11:00:12 +01:00
controllers HSI: omap_ssi: drop pm_runtime_irq_safe 2016-06-28 00:40:08 +02:00
Kconfig HSI: Introduce OMAP SSI driver 2014-05-16 00:54:51 +02:00
Makefile hsi: Build hsi_boardinfo.c into hsi core if enabled 2016-06-15 16:02:50 +02:00
hsi_boardinfo.c HSI: hsi: Introducing HSI framework 2012-01-05 15:42:13 +02:00
hsi_core.c HSI: core: switch port event notifier from atomic to blocking 2016-06-28 00:38:53 +02:00
hsi_core.h HSI: hsi: Introducing HSI framework 2012-01-05 15:42:13 +02:00