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

2010-07-15 Thread Stephen Hemminger
On Thu, 15 Jul 2010 22:47:33 +0400 Kulikov Vasiliy sego...@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

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

2010-07-15 Thread David Miller
From: Stephen Hemminger shemmin...@linux-foundation.org Date: Thu, 15 Jul 2010 12:21:44 -0700 On Thu, 15 Jul 2010 22:47:33 +0400 Kulikov Vasiliy sego...@gmail.com wrote: ipv6_skip_exthdr() can return error code that is below zero. 'offset' is unsigned, so it makes no sense.