> Subject: [EXTERNAL] Re: [Patch v3] net/mana: use mana_local_data for tracking
> usage data for primary process
> 
> On Thu, 20 Feb 2025 15:32:02 -0800
> lon...@linuxonhyperv.com wrote:
> 
> > From: Long Li <lon...@microsoft.com>
> >
> > The driver uses mana_shared_data for tracking usage count for primary
> > process. This is not correct as the mana_shared_data is allocated by
> > the primary and is meant to track usage of secondary process by the
> > primary process. And it creates a race condition when the device is
> > removed because the counter is no longer available if this shared
> > memory is freed.
> >
> > Move the usage count tracking to mana_local_data and fix the race
> > condition in mana_pci_remove().
> >
> > Fixes: 517ed6e2d590 ("net/mana: add basic driver with build
> > environment")
> > Signed-off-by: Long Li <lon...@microsoft.com>
> 
> Ok, mind if I break the long lines when merging?

Yes, please do.

Sorry I didn't catch this earlier. Will do next time.

Long

Reply via email to