2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-22 04:03:58 +08:00
linux-next/drivers/net/ixgb
Joe Perches 57bf6eef2f 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 <joe@perches.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-05-14 03:06:19 -07:00
..
ixgb_ee.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
ixgb_ee.h ixgb: update copyright dates and versions 2008-07-11 01:20:31 -04:00
ixgb_ethtool.c ixgb: Fix erroneous display of stats by ethtool -S 2009-10-13 11:48:29 -07:00
ixgb_hw.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
ixgb_hw.h ixgb: Use pr_<level> and netdev_<level> 2010-04-27 12:53:30 -07:00
ixgb_ids.h ixgb: update copyright dates and versions 2008-07-11 01:20:31 -04:00
ixgb_main.c ixgb and e1000: Use new function for copybreak tests 2010-05-14 03:06:19 -07:00
ixgb_osdep.h ixgb: Use pr_<level> and netdev_<level> 2010-04-27 12:53:30 -07:00
ixgb_param.c ixgb: Use pr_<level> and netdev_<level> 2010-04-27 12:53:30 -07:00
ixgb.h ixgb: Use pr_<level> and netdev_<level> 2010-04-27 12:53:30 -07:00
Makefile ixgb: update copyright dates and versions 2008-07-11 01:20:31 -04:00