[PKTGEN]: Fix multiqueue oops.
authorRobert Olsson <robert.olsson@its.uu.se>
Tue, 28 Aug 2007 22:43:14 +0000 (15:43 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 28 Aug 2007 22:43:14 +0000 (15:43 -0700)
commit378be2c08314fc46e3f814fa264ff8ebdb79712f
tree63624dbb5ddbb25085ed6f0bf9970991fb6dd508
parent594a9dfae7113d9601b2c353754c40d0b7e00a03
[PKTGEN]: Fix multiqueue oops.

Initially pkt_dev can be NULL this causes netif_subqueue_stopped to
oops. The patch below should cure it. But maybe the pktgen TX logic
should be reworked to better support the new multiqueue support.

Signed-off-by: Robert Olsson <robert.olsson@its.uu.se>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/pktgen.c