| To: | herbert@xxxxxxxxxxxxxxxxxxx |
|---|---|
| Subject: | Re: [SCTP] Replace spin_lock_irqsave with spin_lock_bh |
| From: | "David S. Miller" <davem@xxxxxxxxxxxxx> |
| Date: | Thu, 02 Jun 2005 22:11:19 -0700 (PDT) |
| Cc: | netdev@xxxxxxxxxxx |
| In-reply-to: | <20050602095459.GA26638@xxxxxxxxxxxxxxxxxxx> |
| References: | <20050602094404.GA10316@xxxxxxxxxxxxxxxxxxx> <20050602095459.GA26638@xxxxxxxxxxxxxxxxxxx> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
From: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Date: Thu, 2 Jun 2005 19:54:59 +1000 > The call in question is only called from recvmsg which means that > IRQs aren't disabled. Therefore it is safe to replace it with > spin_lock_bh. > > Signed-off-by: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Also applied to net-2.6.13, thanks. |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [IPV4/IPV6] Replace spin_lock_irq with spin_lock_bh, David S. Miller |
|---|---|
| Next by Date: | Re: Network card driver problem (znb.o/tulip), Kosta Todorovic |
| Previous by Thread: | [SCTP] Replace spin_lock_irqsave with spin_lock_bh, Herbert Xu |
| Next by Thread: | Re: [IPV4/IPV6] Replace spin_lock_irq with spin_lock_bh, David S. Miller |
| Indexes: | [Date] [Thread] [Top] [All Lists] |