[Top] [All Lists]

Re: Strange uses of netif_start_queue

To: Alan Cox <alan@xxxxxxxxxxxxxxxxxxx>
Subject: Re: Strange uses of netif_start_queue
From: Patrick McHardy <kaber@xxxxxxxxx>
Date: Fri, 12 Aug 2005 15:33:41 +0200
Cc: netdev@xxxxxxxxxxx
In-reply-to: <1123853714.22460.39.camel@localhost.localdomain>
References: <1123853714.22460.39.camel@localhost.localdomain>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.10) Gecko/20050803 Debian/1.7.10-1
Alan Cox wrote:
> Something I noticed doing the tty work. the 6pack driver calls
> netif_start_queue() before it calls register_netdev. I'm curious if this
> is allowed ?

All netif_start_queue does is clear_bit(...), so it is a NOP at that
point. I guess it could be removed.

<Prev in Thread] Current Thread [Next in Thread>