From 977d97b004a1ae5bbd9d42eae28386f8e2372068 Mon Sep 17 00:00:00 2001 From: mlaier Date: Sun, 13 Jun 2004 17:29:10 +0000 Subject: Link ALTQ to the build and break with ABI for struct ifnet. Please recompile your (network) modules as well as any userland that might make sense of sizeof(struct ifnet). This does not change the queueing yet. These changes will follow in a seperate commit. Same with the driver changes, which need case by case evaluation. __FreeBSD_version bump will follow. Tested-by: (i386)LINT --- sys/i4b/driver/i4b_ipr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/i4b') diff --git a/sys/i4b/driver/i4b_ipr.c b/sys/i4b/driver/i4b_ipr.c index 6a30908..f0d9e8d 100644 --- a/sys/i4b/driver/i4b_ipr.c +++ b/sys/i4b/driver/i4b_ipr.c @@ -382,7 +382,7 @@ i4biproutput(struct ifnet *ifp, struct mbuf *m, struct sockaddr *dst, if(ip->ip_tos & IPTOS_LOWDELAY) ifq = &sc->sc_fastq; else - ifq = &sc->sc_if.if_snd; + ifq = (struct ifqueue *)&sc->sc_if.if_snd; /* check for space in choosen send queue */ -- cgit v1.1