netdev
[Top] [All Lists]

Re: Reproducible panics with tulip

To: Francois Romieu <romieu@xxxxxxxxxxxxx>
Subject: Re: Reproducible panics with tulip
From: Matt Mackall <mpm@xxxxxxxxxxx>
Date: Fri, 18 Mar 2005 19:13:21 -0800
Cc: Alexander Nyberg <alexn@xxxxxxxxx>, jgarzik@xxxxxxxxx, netdev@xxxxxxxxxxx, davem@xxxxxxxxxxxxx
In-reply-to: <20050318223939.GB24509@electric-eye.fr.zoreil.com>
References: <1111178167.1147.9.camel@localhost.localdomain> <20050318215229.GA24509@electric-eye.fr.zoreil.com> <20050318223939.GB24509@electric-eye.fr.zoreil.com>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.6+20040907i
On Fri, Mar 18, 2005 at 11:39:39PM +0100, Francois Romieu wrote:
> 
> zap_completion_queue can be called in any context through netpoll_send_udp.
> 
> Signed-off-by: Francois Romieu <romieu@xxxxxxxxxxxxx>
> 
> diff -puN net/core/netpoll.c~netconsole-000 net/core/netpoll.c
> --- a/net/core/netpoll.c~netconsole-000       2005-03-18 23:29:28.499641348 
> +0100
> +++ b/net/core/netpoll.c      2005-03-18 23:33:13.856959994 +0100
> @@ -142,7 +142,7 @@ static void zap_completion_queue(void)
>               while (clist != NULL) {
>                       struct sk_buff *skb = clist;
>                       clist = clist->next;
> -                     __kfree_skb(skb);
> +                     dev_kfree_skb_any(skb);
>               }
>       }

Please, cc: me on such things. I sent this fix a while back, but DaveM
never acked it.

-- 
Mathematics is the supreme nostalgia of our time.

<Prev in Thread] Current Thread [Next in Thread>