Messages in this thread | | | Date | Thu, 20 Dec 2007 04:12:07 -0800 (PST) | Subject | Re: [PATCH 3/3] [UDP6]: Counter increment on BH mode | From | David Miller <> |
| |
From: Herbert Xu <herbert@gondor.apana.org.au> Date: Sat, 15 Dec 2007 21:58:52 +0800
> [SNMP]: Fix SNMP counters with PREEMPT > > The SNMP macros use raw_smp_processor_id() in process context > which is illegal because the process may be preempted and then > migrated to another CPU. > > This patch makes it use get_cpu/put_cpu to disable preemption. > > Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Applied to net-2.6.25, thanks.
| |