diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2012-01-05 22:13:47 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-01-07 15:26:08 -0500 |
commit | 26e29eeda048aa6699984c4b9d6997dd1a1315db (patch) | |
tree | eeef1467c079ce2f3470163d5151b35b7e733fb5 /drivers/net/ethernet/realtek | |
parent | 96dab45fc3eb732de7b7fe03d2250d3815af8929 (diff) |
pktgen: set correct max and min in pktgen_setup_inject()
In 882716604ec "pktgen: fix multiple queue warning" we added special
logic to handle the case where ntxq is zero. It's not clear to me that
ntxq can actually be zero. But if it were then we would set
->queue_map_min and ->queue_map_max to USHRT_MAX when probably we want
to set them to zero?
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/realtek')
0 files changed, 0 insertions, 0 deletions