| To: | herbert@xxxxxxxxxxxxxxxxxxx |
|---|---|
| Subject: | Re: [IPV4/IPV6] Replace spin_lock_irq with spin_lock_bh |
| From: | "David S. Miller" <davem@xxxxxxxxxxxxx> |
| Date: | Thu, 02 Jun 2005 22:10:26 -0700 (PDT) |
| Cc: | netdev@xxxxxxxxxxx |
| In-reply-to: | <20050602094404.GA10316@gondor.apana.org.au> |
| References: | <20050602094404.GA10316@gondor.apana.org.au> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
From: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Date: Thu, 2 Jun 2005 19:44:04 +1000 > In light of my recent patch to net/ipv4/udp.c that replaced the > spin_lock_irq calls on the receive queue lock with spin_lock_bh, > here is a similar patch for all other occurences of spin_lock_irq > on receive/error queue locks in IPv4 and IPv6. > > In these stacks, we know that they can only be entered from user > or softirq context. Therefore it's safe to disable BH only. > > Signed-off-by: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Applied to net-2.6.13, thanks Herbert. |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: PATCH: ioctl send PID in netlink events, David S. Miller |
|---|---|
| Next by Date: | Re: [SCTP] Replace spin_lock_irqsave with spin_lock_bh, David S. Miller |
| Previous by Thread: | Re: [SCTP] Replace spin_lock_irqsave with spin_lock_bh, David S. Miller |
| Next by Thread: | Problems with Broadcom and Intel PRO/1000 cards, Alfredo Beaumont Sainz |
| Indexes: | [Date] [Thread] [Top] [All Lists] |