Subject: Re: linux-next: net-current tree build failure

From: David Miller <[email-masked]>
Date: Sun, 20 Jul 2008 18:05:14 -0700 (PDT)

From: Stephen Rothwell <[email-masked]>
Date: Mon, 21 Jul 2008 10:58:52 +1000

> Hi Dave,
> 
> Today's linux-next build (powerpc ppc64_defconfig) failed like this:
> 
> net/built-in.o: In function `.dev_queue_xmit':
> (.text+0x125a4): undefined reference to `.qdisc_calculate_pkt_len'
> net/built-in.o: In function `.__qdisc_destroy':
> sch_generic.c:(.text+0x28710): undefined reference to `.qdisc_put_stab'
> 
> This config has CONFIG_NET_SCHED not set.
> 
> I applied the patch below, but it is probably not the correct solution.

No, it isn't.  We should just comment out the stab code
when NET_SCHED is not set.

Thanks for catching this.