[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20100721.163955.12041610.davem@davemloft.net>
Date: Wed, 21 Jul 2010 16:39:55 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: shemminger@...tta.com
Cc: hadi@...erus.ca, netdev@...r.kernel.org
Subject: Re: mirred, redirect action vs. dev refcount issue
From: Stephen Hemminger <shemminger@...tta.com>
Date: Wed, 21 Jul 2010 16:24:26 -0700
> Alternatively, the mirror/redirect could just use ifindex which is
> a soft reference, so if device is removed, they just drop.
>
> Lazy me favors the later.
If it is the action rule holding onto the device, it should have
an appropriate netdevice notifier handler.
If it's a transient reference on receive, it should be transient
and released eventually.
--
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