All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: dsa@cumulusnetworks.com
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH net-next] net: vrf: Switch dst dev to loopback on device delete
Date: Wed, 15 Jun 2016 21:40:15 -0700 (PDT)	[thread overview]
Message-ID: <20160615.214015.227616106030915305.davem@davemloft.net> (raw)
In-Reply-To: <1465929441-19163-1-git-send-email-dsa@cumulusnetworks.com>

From: David Ahern <dsa@cumulusnetworks.com>
Date: Tue, 14 Jun 2016 11:37:21 -0700

> Attempting to delete a VRF device with a socket bound to it can stall:
> 
>   unregister_netdevice: waiting for red to become free. Usage count = 1
> 
> The unregister is waiting for the dst to be released and with it
> references to the vrf device. Similar to dst_ifdown switch the dst
> dev to loopback on delete for all of the dst's for the vrf device
> and release the references to the vrf device.
> 
> Fixes: 193125dbd8eb2 ("net: Introduce VRF device driver")
> Fixes: 35402e3136634 ("net: Add IPv6 support to VRF device")
> Signed-off-by: David Ahern <dsa@cumulusnetworks.com>

Applied.

      reply	other threads:[~2016-06-16  4:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-14 18:37 [PATCH net-next] net: vrf: Switch dst dev to loopback on device delete David Ahern
2016-06-16  4:40 ` David Miller [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160615.214015.227616106030915305.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=dsa@cumulusnetworks.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.