Re: netpoll rtnl_dereference() usage

2016-03-25 Thread Neil Horman
On Fri, Mar 25, 2016 at 12:30:32PM -0500, Bjorn Helgaas wrote: > Hi Neil, > > Since we're looking at netpoll, here's another question (or two). > 0790bbb68f9d ("netpoll: cleanup sparse warnings") adds this: > > @@ -1236,7 +1236,11 @@ void __netpoll_cleanup(struct netpoll *np) > struct net

netpoll rtnl_dereference() usage

2016-03-25 Thread Bjorn Helgaas
Hi Neil, Since we're looking at netpoll, here's another question (or two). 0790bbb68f9d ("netpoll: cleanup sparse warnings") adds this: @@ -1236,7 +1236,11 @@ void __netpoll_cleanup(struct netpoll *np) struct netpoll_info *npinfo; unsigned long flags; - npinfo = np->dev->n