diff options
author | Joe Perches <joe@perches.com> | 2010-05-13 15:26:17 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-05-14 03:06:19 -0700 |
commit | 57bf6eef2f43ae810504753208b3a2c0bb2e4765 (patch) | |
tree | 54ea4e292e1a6279139580b7d3e9ea74f3d09c61 /drivers/s390/kvm | |
parent | 621b99b6f6a8ae69ca9b69dec0fec3a68f774bb7 (diff) | |
download | op-kernel-dev-57bf6eef2f43ae810504753208b3a2c0bb2e4765.zip op-kernel-dev-57bf6eef2f43ae810504753208b3a2c0bb2e4765.tar.gz |
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>
Diffstat (limited to 'drivers/s390/kvm')
0 files changed, 0 insertions, 0 deletions