]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitfca0086ce1831a6aa860b00195c8f5cdf38ae63c
tree63624dbb5ddbb25085ed6f0bf9970991fb6dd508
parent998696afdf960a09f0b90741279711df4ca64823
[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