[Bridge] [PATCH 7/8] net: bridge: fix sign bug

David Miller davem at davemloft.net
Thu Jul 15 20:28:53 PDT 2010


From: Stephen Hemminger <shemminger at linux-foundation.org>
Date: Thu, 15 Jul 2010 12:21:44 -0700

> On Thu, 15 Jul 2010 22:47:33 +0400
> Kulikov Vasiliy <segooon at gmail.com> wrote:
> 
>> ipv6_skip_exthdr() can return error code that is below zero.
>> 'offset' is unsigned, so it makes no sense.
>> ipv6_skip_exthdr() returns 'int' so we can painlessly change type of
>> offset to int.
>> 
>> Signed-off-by: Kulikov Vasiliy <segooon at gmail.com>
...
> Acked-by: Stephen Hemminger <shemminger at vyatta.com>

Applied.


More information about the Bridge mailing list