RE: [PATCH 5/5] staging: hv: fix a kernel warning in netvsc_linkstatus_callback()

2011-07-05 Thread Haiyang Zhang
inuxdriverproject.org; virtualizat...@lists.osdl.org; stable > Subject: Re: [PATCH 5/5] staging: hv: fix a kernel warning in > netvsc_linkstatus_callback() > > On Fri, Jun 17, 2011 at 07:58:08AM -0700, Haiyang Zhang wrote: > > netif_notify_peers() is not allowed in netvsc_linkstatus_callback

Re: [PATCH 5/5] staging: hv: fix a kernel warning in netvsc_linkstatus_callback()

2011-07-05 Thread Greg KH
On Fri, Jun 17, 2011 at 07:58:08AM -0700, Haiyang Zhang wrote: > netif_notify_peers() is not allowed in netvsc_linkstatus_callback() on some > distros, "distros"? Huh? You mean kernel versions right? And this doesn't matter for the current kernel, right? If not, then it doesn't need to be appl

[PATCH 5/5] staging: hv: fix a kernel warning in netvsc_linkstatus_callback()

2011-06-17 Thread Haiyang Zhang
netif_notify_peers() is not allowed in netvsc_linkstatus_callback() on some distros, because netvsc_linkstatus_callback() is within IRQ context. So we move the first call to netif_notify_peers() into queued work as well, but with zero delay. This should also be back-ported to stable kernels 2.6.32