kernel-fxtec-pro1x/net/can
YueHaibing bd2f4c7c2d can: gw: Fix error path of cgw_module_init
[ Upstream commit b7a14297f102b6e2ce6f16feffebbb9bde1e9b55 ]

This patch add error path for cgw_module_init to avoid possible crash if
some error occurs.

Fixes: c1aabdf379 ("can-gw: add netlink based CAN routing")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Acked-by: Oliver Hartkopp <socketcan@hartkopp.net>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-08-29 08:28:30 +02:00
..
af_can.c
af_can.h
bcm.c
gw.c can: gw: Fix error path of cgw_module_init 2019-08-29 08:28:30 +02:00
Kconfig
Makefile
proc.c
raw.c