netdev
[Top] [All Lists]

Re: Deadlock problem with dev->refcnt somewhere in netlink/multicast...

To: David Stevens <dlstevens@xxxxxxxxxx>
Subject: Re: Deadlock problem with dev->refcnt somewhere in netlink/multicast... [PATCH]
From: "David S. Miller" <davem@xxxxxxxxxx>
Date: Mon, 2 Feb 2004 15:47:55 -0800
Cc: willy@xxxxxxxxx, netdev@xxxxxxxxxxx, jgarzik@xxxxxxxxx, Alexandre.Cassen@xxxxxxxxxx
In-reply-to: <OFDBAB37F5.227951E9-ON88256E2E.0080F5BF@us.ibm.com>
References: <OFDBAB37F5.227951E9-ON88256E2E.0080F5BF@us.ibm.com>
Sender: netdev-bounce@xxxxxxxxxxx
On Mon, 2 Feb 2004 16:41:11 -0700
David Stevens <dlstevens@xxxxxxxxxx> wrote:

> Below is a patch for the reference count problem you ran into.
> 
> The problem is that the IGMP code was using "IFF_UP" to determine
> if a report should be sent or a timer should be started. But it is not
> necessarily cleared during a destroy_dev.
> 
> The IPv4 code was also missing an ip_mc_down() call added in the
> IPv6 code for a similar case by Jan Oravec.

Applied to both 2.4.x and 2.6.x, thanks David.

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