[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070512094629.GJ521@postel.suug.ch>
Date: Sat, 12 May 2007 11:46:29 +0200
From: Thomas Graf <tgraf@...g.ch>
To: jamal <hadi@...erus.ca>
Cc: "Waskiewicz Jr, Peter P" <peter.p.waskiewicz.jr@...el.com>,
Herbert Xu <herbert@...dor.apana.org.au>,
David Miller <davem@...emloft.net>, netdev@...r.kernel.org
Subject: Re: take 2 WAS (RE: [RFC] make qdisc_restart more readable
* jamal <hadi@...erus.ca> 2007-05-11 15:29
> diff --git a/net/sched/sch_generic.c b/net/sched/sch_generic.c
> + netif_schedule(dev);
> + return 0;
> +}
> +
> +static struct sk_buff *
> +try_get_tx_pkt(struct net_device *dev, struct Qdisc *q)
> +{
> + struct sk_buff *skb = NULL;
> +
> + if (skb = dev->gso_skb)
This must have caused a warning and you probably want to inline
this function.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists