| To: | Lee Revell <rlrevell@xxxxxxxxxxx> |
|---|---|
| Subject: | Re: tun.c patch to fix "smp_processor_id() in preemptible code" |
| From: | "David S. Miller" <davem@xxxxxxxxxxxxx> |
| Date: | Tue, 19 Oct 2004 17:44:32 -0700 |
| Cc: | herbert@xxxxxxxxxxxxxxxxxxx, vda@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, maxk@xxxxxxxxxxxx, irda-users@xxxxxxxxxxxxxxxxxxxxx |
| In-reply-to: | <1098226288.23628.6.camel@krustophenia.net> |
| References: | <E1CK1e6-0004F3-00@gondolin.me.apana.org.au> <1098222676.23367.18.camel@krustophenia.net> <20041019215401.GA16427@gondor.apana.org.au> <1098223857.23367.35.camel@krustophenia.net> <20041019153308.488d34c1.davem@davemloft.net> <1098225729.23628.2.camel@krustophenia.net> <20041019154249.6afcaaad.davem@davemloft.net> <1098226288.23628.6.camel@krustophenia.net> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
On Tue, 19 Oct 2004 18:51:28 -0400
Lee Revell <rlrevell@xxxxxxxxxxx> 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.
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: NFS and Network Driver Question, Bob Wirka |
|---|---|
| Next by Date: | Re: NFS and Network Driver Question, Michael Richardson |
| Previous by Thread: | Re: tun.c patch to fix "smp_processor_id() in preemptible code", Lee Revell |
| Next by Thread: | [ANNOUNCE] iproute2 2.6.9-041019, Stephen Hemminger |
| Indexes: | [Date] [Thread] [Top] [All Lists] |