From: Dan Carpenter Date: Fri, 6 Jan 2012 03:13:47 +0000 (+0000) Subject: pktgen: set correct max and min in pktgen_setup_inject() X-Git-Tag: v3.3-rc1~134^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=26e29eeda048aa6699984c4b9d6997dd1a1315db;p=pandora-kernel.git 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 --- Reading git-diff-tree failed