[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130208181433.GC8771@hmsreliant.think-freely.org>
Date: Fri, 8 Feb 2013 13:14:33 -0500
From: Neil Horman <nhorman@...driver.com>
To: Eric Dumazet <eric.dumazet@...il.com>
Cc: netdev@...r.kernel.org, fengguang.wu@...el.com,
David Miller <davem@...emloft.net>
Subject: Re: [PATCH] netpoll: cleanup sparse warnings
On Fri, Feb 08, 2013 at 08:44:43AM -0800, Eric Dumazet wrote:
> On Fri, 2013-02-08 at 10:47 -0500, Neil Horman wrote:
>
> > Actually, I think all we need to do is take the rcu_read_lock and use
> > rcu_dereference directly. __netpoll_cleanup doesn't actually change the
> > dev->npinfo pointer itself, thats handled by the caller, always under protection
> > of the rtnl, so here we just need to ensure that no one changes npifo while
> > we're using it
>
> SGTM ;)
>
Testing it out now. The more I look at this the more I'm concerned that there
are other problems with netpoll in the release path. Shocking...I know :)
Neil
>
>
--
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