Re: [BRIDGE]: Fix fdb RCU race

2007-03-22 Thread David Miller
From: Patrick McHardy <[EMAIL PROTECTED]> Date: Thu, 22 Mar 2007 19:29:09 +0100 > Fix what looks like a RCU race. Untested since this is only > used by ATM, which I don't have. Also applied, thanks Patrick. - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a mess

Re: [BRIDGE]: Fix fdb RCU race

2007-03-22 Thread Stephen Hemminger
On Thu, 22 Mar 2007 19:29:09 +0100 Patrick McHardy <[EMAIL PROTECTED]> wrote: > Fix what looks like a RCU race. Untested since this is only > used by ATM, which I don't have. > That looks right, I wonder if the ATM hooks ever get used? -- Stephen Hemminger <[EMAIL PROTECTED]> - To unsubscribe

[BRIDGE]: Fix fdb RCU race

2007-03-22 Thread Patrick McHardy
Fix what looks like a RCU race. Untested since this is only used by ATM, which I don't have. [BRIDGE]: Fix fdb RCU race br_fdb_get use atomic_inc to increase the refcount of an element found on a RCU protected list, which can lead to the following race: