linux/drivers/net/hamradio
Fabio Estevam 9d332d92a9 mkiss: Fix error handling in mkiss_open()
If register_netdev() fails we are not propagating the error and
we return success because ax_open() succeeded previously.

Fix this by checking the return value of ax_open() and
register_netdev() and propagate the error in case of failure.

Reported-by: RUC_Soft_Sec <zy900702@163.com>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-08-10 21:10:31 -07:00
..
6pack.c ax25: Stop using magic neighbour cache operations. 2015-03-03 14:44:41 -05:00
baycom_epp.c ax25: Stop using magic neighbour cache operations. 2015-03-03 14:44:41 -05:00
baycom_par.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
baycom_ser_fdx.c hamradio: baycom: remove deprecated IRQF_DISABLED 2013-09-30 15:08:13 -04:00
baycom_ser_hdx.c hamradio: baycom: remove deprecated IRQF_DISABLED 2013-09-30 15:08:13 -04:00
bpqether.c NET: hamradio: Fix IP over bpq encapsulation. 2015-07-08 14:09:03 -07:00
dmascc.c ax25: Stop using magic neighbour cache operations. 2015-03-03 14:44:41 -05:00
hdlcdrv.c ax25: Stop using magic neighbour cache operations. 2015-03-03 14:44:41 -05:00
Kconfig tty: Added a CONFIG_TTY option to allow removal of TTY 2013-01-18 16:15:27 -08:00
Makefile Fix common misspellings 2011-03-31 11:26:23 -03:00
mkiss.c mkiss: Fix error handling in mkiss_open() 2015-08-10 21:10:31 -07:00
scc.c ax25: Stop using magic neighbour cache operations. 2015-03-03 14:44:41 -05:00
yam.c ax25: Stop using magic neighbour cache operations. 2015-03-03 14:44:41 -05:00
z8530.h