[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20110307.155832.52202423.davem@davemloft.net>
Date: Mon, 07 Mar 2011 15:58:32 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: arnd@...db.de
Cc: nikai@...ai.net, eric.dumazet@...il.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] drivers/net/macvtap: fix error check
From: Arnd Bergmann <arnd@...db.de>
Date: Mon, 7 Mar 2011 10:59:04 +0100
> On Saturday 05 March 2011, Nicolas Kaiser wrote:
>> 'len' is unsigned of type size_t and can't be negative.
>>
>> Signed-off-by: Nicolas Kaiser <nikai@...ai.net>
>
> Acked-by: Arnd Bergmann <arnd@...db.de>
>
> I think it's harmless: the worst thing that can happen is
> macvtap_alloc_skb() failing with ENOMEM when it gets a
> large argument, but we could have it in -stable just to
> be sure.
I'm just going to add it to net-2.6
I verified that gcc is not generating this test at all
currently, so putting this into -stable is quite pointless.
--
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