[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Sat, 07 Aug 2010 23:02:22 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: dwmw2@...radead.org
Cc: netdev@...r.kernel.org, nathan@...verse.com.au,
linux-atm-general@...ts.sourceforge.net
Subject: Re: [PATCH] solos-pci: Fix race condition in tasklet RX handling
From: David Woodhouse <dwmw2@...radead.org>
Date: Fri, 06 Aug 2010 17:17:36 +0100
> We were seeing faults in the solos-pci receive tasklet when packets
> arrived for a VCC which was currently being closed:
...
> This patch uses an RCU-inspired approach to fix it. In the RX tasklet's
> find_vcc() function we first refuse to use a VCC which already has the
> ATM_VF_READY bit cleared. And in the VCC close function, we synchronise
> with the tasklet to ensure that it can't still be using the VCC before
> we continue and allow the VCC to be destroyed.
>
> Signed-off-by: David Woodhouse <David.Woodhouse@...el.com>
> Tested-by: Nathan Williams <nathan@...verse.com.au>
> Cc: stable@...nel.org
Applied, thanks David.
--
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