[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20101028.132122.245402585.davem@davemloft.net>
Date: Thu, 28 Oct 2010 13:21:22 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: leedom@...lsio.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] cxgb4vf: fix crash due to manipulating queues before
registration
From: Casey Leedom <leedom@...lsio.com>
Date: Thu, 28 Oct 2010 13:16:47 -0700
> Before commit "net: allocate tx queues in register_netdevice"
> netif_tx_stop_all_queues and related functions could be used between
> device allocation and registration but now only after registration.
> cxgb4 has such a call before registration and crashes now. Move it
> after register_netdev.
>
> Signed-off-by: Casey Leedom <leedom@...lsio.com>
Why are you manipulating the queue at all here?
The queue state is "don't care" at this point in time,
and has no meaning until ->open() is invoked.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists