From: Eric Dumazet <[EMAIL PROTECTED]>
Date: Fri, 20 Oct 2006 09:18:35 +0200
> As BHs are off in loopback_xmit(), preemption cannot occurs, so we can use
> __get_cpu_var() instead of per_cpu() (and avoid a
> preempt_enable()/preempt_disable() pair)
>
> Signed-off-by: Eric Dumazet <[EMAIL PROTEC
As BHs are off in loopback_xmit(), preemption cannot occurs, so we can use
__get_cpu_var() instead of per_cpu() (and avoid a
preempt_enable()/preempt_disable() pair)
Signed-off-by: Eric Dumazet <[EMAIL PROTECTED]>
--- net-2.6/drivers/net/loopback.c 2006-10-19 16:46:27.0 +0200
+++