[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20101005.004001.214209669.davem@davemloft.net>
Date: Tue, 05 Oct 2010 00:40:01 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: error27@...il.com
Cc: hadi@...erus.ca, shemminger@...tta.com, elendil@...net.nl,
xiaosuo@...il.com, netdev@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [patch] cls_u32: signedness bug
From: Dan Carpenter <error27@...il.com>
Date: Mon, 4 Oct 2010 14:28:36 +0200
> skb_headroom() is unsigned so "skb_headroom(skb) + toff" is also
> unsigned and can't be less than zero. This test was added in 66d50d25:
> "u32: negative offset fix" It was supposed to fix a regression.
>
> Signed-off-by: Dan Carpenter <error27@...il.com>
> ---
> Compile tested only. Please check.
This looks correct to me, thanks for fixing this.
Applied.
--
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