[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150810.211055.763218711116840541.davem@davemloft.net>
Date: Mon, 10 Aug 2015 21:10:55 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: fabio.estevam@...escale.com
Cc: netdev@...r.kernel.org, zy900702@....com
Subject: Re: [PATCH] mkiss: Fix error handling in mkiss_open()
From: Fabio Estevam <fabio.estevam@...escale.com>
Date: Mon, 10 Aug 2015 14:22:43 -0300
> 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@....com>
> Signed-off-by: Fabio Estevam <fabio.estevam@...escale.com>
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists