Skip to content
Commit 5b5f792a authored by Florian Westphal's avatar Florian Westphal Committed by David S. Miller
Browse files

pktgen: do not access flows[] beyond its length



typo -- pkt_dev->nflows is for stats only, the number of concurrent
flows is stored in cflows.

Reported-By: default avatarVladimir Ivashchenko <hazard@francoudi.com>
Signed-off-by: default avatarFlorian Westphal <fw@strlen.de>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c40499e0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment