[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20140912.173328.853747388797023828.davem@davemloft.net>
Date: Fri, 12 Sep 2014 17:33:28 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: sd@...asysnail.net
Cc: cwang@...pensource.com, netdev@...r.kernel.org,
hannes@...essinduktion.org
Subject: Re: [PATCH v2 net] ipv6: clean up anycast when an interface is
destroyed
From: Sabrina Dubroca <sd@...asysnail.net>
Date: Wed, 10 Sep 2014 23:23:02 +0200
> If we try to rmmod the driver for an interface while sockets with
> setsockopt(JOIN_ANYCAST) are alive, some refcounts aren't cleaned up
> and we get stuck on:
>
> unregister_netdevice: waiting for ens3 to become free. Usage count = 1
>
> If we LEAVE_ANYCAST/close everything before rmmod'ing, there is no
> problem.
>
> We need to perform a cleanup similar to the one for multicast in
> addrconf_ifdown(how == 1).
>
> Signed-off-by: Sabrina Dubroca <sd@...asysnail.net>
> ---
> v2: remove comment
Applied, thank you.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists