diff options
author | Alexander Duyck <[email protected]> | 2009-03-31 20:38:19 +0000 |
---|---|---|
committer | David S. Miller <[email protected]> | 2009-04-02 00:59:06 -0700 |
commit | d1a8c9e1c8a49afccc85dfeccd731ccbec52e724 (patch) | |
tree | a587e56be10cf9f5df8399d9eff926c133fd4f96 /net/lapb/lapb_in.c | |
parent | 59c3de8944e04799643e6980c3ea6a30860ad39b (diff) |
igb: set num_rx/tx_queues to 0 when queues are freed
An issue was seen on suspend in which the system reported a page fault. This
was due to the new reg_idx code being called after the queues were freed.
This update prevents any for loops from going through the queues by setting
the number of queues to 0 when they are freed.
Signed-off-by: Alexander Duyck <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions