pktgen: correct uninitialized queue_map
authorJunchang Wang <junchangwang@gmail.com>
Sun, 7 Nov 2010 23:19:43 +0000 (23:19 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Nov 2010 20:17:07 +0000 (12:17 -0800)
commiteb589063ed482f5592b1378e4136d6998419af6e
treebfc87b5e9d2efe293edaf4fa79a98e2773c7ff47
parent18543a643fae694982c7d89c22436885f3506497
pktgen: correct uninitialized queue_map

This fix a bug reported by backyes.
Right the first time pktgen's using queue_map that's not been initialized
by set_cur_queue_map(pkt_dev);

Signed-off-by: Junchang Wang <junchangwang@gmail.com>
Signed-off-by: Backyes <backyes@mail.ustc.edu.cn>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/pktgen.c