[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20100326.115820.44147357.davem@davemloft.net>
Date: Fri, 26 Mar 2010 11:58:20 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: jeffrey.t.kirsher@...el.com
Cc: netdev@...r.kernel.org, gospo@...hat.com, robert.w.love@...el.com,
yi.zou@...el.com, frank_1.zhang@...el.com
Subject: Re: [net-2.6 PATCH] ixgbe: Don't allow user buffer count to exceed
256
From: Jeff Kirsher <jeffrey.t.kirsher@...el.com>
Date: Wed, 24 Mar 2010 13:02:04 -0700
> From: Robert Love <robert.w.love@...el.com>
>
> If the user buffer count was 256 the shift would place a 1
> in the offset region leading to errors. It also overwrites
> the uers buffer list. This patch makes sure that at most
> 256 user buffers are allowed for DDP and the buffer count
> is masked properly such that it doesn't overwrite the offset
> when shifting the bits.
>
> Signed-off-by: Robert Love <robert.w.love@...el.com>
> Signed-off-by: Yi Zou <yi.zou@...el.com>
> Signed-off-by: Frank Zhang <frank_1.zhang@...el.com>
> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@...el.com>
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