[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20151016.004606.1112196816016985692.davem@davemloft.net>
Date: Fri, 16 Oct 2015 00:46:06 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: ben@...adent.org.uk
Cc: isdn@...ux-pingi.de, linux-ppp@...r.kernel.org,
netdev@...r.kernel.org
Subject: Re: [PATCH net 1/2] isdn_ppp: Add checks for allocation failure in
isdn_ppp_open()
From: Ben Hutchings <ben@...adent.org.uk>
Date: Wed, 14 Oct 2015 18:51:14 +0100
> Compile-tested only.
>
> Signed-off-by: Ben Hutchings <ben@...adent.org.uk>
> ---
> drivers/isdn/i4l/isdn_ppp.c | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/drivers/isdn/i4l/isdn_ppp.c b/drivers/isdn/i4l/isdn_ppp.c
> index c4198fa..86f9abe 100644
> --- a/drivers/isdn/i4l/isdn_ppp.c
> +++ b/drivers/isdn/i4l/isdn_ppp.c
> @@ -301,6 +301,8 @@ isdn_ppp_open(int min, struct file *file)
> is->compflags = 0;
>
> is->reset = isdn_ppp_ccp_reset_alloc(is);
> + if (!is->reset)
> + return -ENOMEM;
Ben, your email client has corrupted both of these patches.
Please fix this up and resubmit, 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