From: Joe Perches Date: Thu, 13 May 2010 15:26:17 +0000 (+0000) Subject: ixgb and e1000: Use new function for copybreak tests X-Git-Tag: v2.6.35-rc1~473^2~120 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=57bf6eef2f43ae810504753208b3a2c0bb2e4765;p=pandora-kernel.git ixgb and e1000: Use new function for copybreak tests 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 Signed-off-by: Jeff Kirsher Signed-off-by: David S. Miller --- Reading git-diff-tree failed