[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20100514.031450.45911891.davem@davemloft.net>
Date: Fri, 14 May 2010 03:14:50 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: jeffrey.t.kirsher@...el.com
Cc: netdev@...r.kernel.org, gospo@...hat.com, joe@...ches.com
Subject: Re: [net-next-2.6 PATCH 3/3] ixgb and e1000: Use new function for
copybreak tests
From: Jeff Kirsher <jeffrey.t.kirsher@...el.com>
Date: Thu, 13 May 2010 18:26:17 -0700
> From: Joe Perches <joe@...ches.com>
>
> There appears to be an off-by-1 defect in the maximum packet size
> copied when copybreak is speified in these modules.
>
> The copybreak module params are specified as:
> "Maximum size of packet that is copied to a new buffer on receive"
>
> The tests are changed from "< copybreak" to "<= copybreak"
> and moved into new static functions for readability.
>
> Signed-off-by: Joe Perches <joe@...ches.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