netdev
[Top] [All Lists]

Re: [PATCH] Deadlock in af_packet/packet_rcv

To: "David S. Miller" <davem@xxxxxxxxxxxxx>
Subject: Re: [PATCH] Deadlock in af_packet/packet_rcv
From: Olaf Kirch <okir@xxxxxxx>
Date: Tue, 30 Nov 2004 11:48:04 +0100
Cc: netdev@xxxxxxxxxxx
In-reply-to: <20041129200220.25ff3f7a.davem@davemloft.net>
References: <20041125205503.GA18083@suse.de> <20041129200220.25ff3f7a.davem@davemloft.net>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.6i
On Mon, Nov 29, 2004 at 08:02:20PM -0800, David S. Miller wrote:
> If it's only the dev_queue_xmit_nit() handlers which all want
> BHs disabled, why don't we just disable BHs in that function?

That was my original fix (see attachment), but Andi Kleen suggested to
actually disable BHs at that level; I think as a matter of caution.

Olaf
-- 
Olaf Kirch     | Things that make Monday morning interesting, #2:
okir@xxxxxxx   |        "We have 8,000 NFS mount points, why do we keep
---------------+         running out of privileged ports?"

Attachment: netdev-xmit
Description: Text document

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