Skip to content
Commit 26e29eed authored by Dan Carpenter's avatar Dan Carpenter Committed by David S. Miller
Browse files

pktgen: set correct max and min in pktgen_setup_inject()



In 88271660 "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: default avatarDavid S. Miller <davem@davemloft.net>
parent 96dab45f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment