Subject: Re: tun.c patch to fix "smp_processor_id() in preemptible code"

From: "David S. Miller" <[email-masked]>
Date: Tue, 19 Oct 2004 17:44:32 -0700

On Tue, 19 Oct 2004 18:51:28 -0400
Lee Revell <[email-masked]> wrote:

> OK, thanks for clarifying.  The correct patch is therefore:
 ...
>  static inline int netif_rx_ni(struct sk_buff *skb)
>  {
> +       preempt_disable();
>         int err = netif_rx(skb);

You need to put statements after local function variable
declarations.