RE: [PATCH v3] Drivers: hv: vmbus: fix the race when querying & updating the percpu list

From: Dexuan Cui
Date: Wed Jun 01 2016 - 06:01:13 EST


> >> [ 5.472143] BUG: unable to handle kernel paging request at
> >> 000000079fff5288
> >> [ 5.477107] IP: [<ffffffffa0004b91>] vmbus_onoffer+0x311/0x570
> >> [hv_vmbus]
> >> ...
> >> Vitaly
> >
> > I can't reproduce the panic somehow, but I did find a bug in
> vmbus_process_offer():
> >
> > "hv_event_tasklet_disable(channel) and
> hv_event_tasklet_enable(channel)"
> > are buggy: the 'channel' parameter should be 'newchannel'.
> >
> > This was a copy-and-paste bug... Sorry!
> > Can you fix this and see if the panic will disappear in your side?
>
> This fixes the issue I'm seeing, thanks!
>
> Vitaly

Many thanks, Vitaly!

I'll post v4 shortly.

Thanks,
-- Dexuan