[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20090221.234656.250919495.davem@davemloft.net>
Date: Sat, 21 Feb 2009 23:46:56 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: roel.kluin@...il.com
Cc: netdev@...r.kernel.org, akpm@...ux-foundation.org
Subject: Re: [PATCH] beyond ARRAY_SIZE of ib->btx_ring
From: Roel Kluin <roel.kluin@...il.com>
Date: Sun, 22 Feb 2009 02:40:45 +0100
> // vi drivers/net/sunlance.c +216
> struct lance_init_block {
> ...
> struct lance_tx_desc btx_ring[TX_RING_SIZE];
> ...
> };
> This is a bug, isn't it?
Yep, luckily this is harmless since it just puts a turd
into the TX buffers.
> Do not go beyond ARRAY_SIZE of ib->btx_ring
>
> Signed-off-by: Roel Kluin <roel.kluin@...il.com>
Applied, 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