[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1360341883.28557.106.camel@edumazet-glaptop>
Date: Fri, 08 Feb 2013 08:44:43 -0800
From: Eric Dumazet <eric.dumazet@...il.com>
To: Neil Horman <nhorman@...driver.com>
Cc: netdev@...r.kernel.org, fengguang.wu@...el.com,
David Miller <davem@...emloft.net>
Subject: Re: [PATCH] netpoll: cleanup sparse warnings
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 ;)
--
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