[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20090313.160421.139212575.davem@davemloft.net>
Date: Fri, 13 Mar 2009 16:04:21 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: roel.kluin@...il.com
Cc: acme@...hat.com, netdev@...r.kernel.org, akpm@...ux-foundation.org
Subject: Re: [PATCH] [SK_BUFF]: '< 0' and '>= 0' test on unsigned
From: Roel Kluin <roel.kluin@...il.com>
Date: Sun, 01 Mar 2009 23:00:57 +0100
> struct sk_buff is located at vi include/linux/skbuff.h +357:
> maybe a different test is needed in x25_rx_call_request()?
>
> This patch wasn't tested in any way.
> ------------------------------>8-------------8<---------------------------------
> skb->len is an unsigned int, so the test in x25_rx_call_request() always
> evaluates to true.
>
> len in x25_sendmsg() is unsigned as well. so -ERRORS returned by x25_output()
> are not noticed.
>
> Signed-off-by: Roel Kluin <roel.kluin@...il.com>
Applied to net-next-2.6, 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