From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail2.tohojo.dk (mail2.tohojo.dk [77.235.48.147]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by huchra.bufferbloat.net (Postfix) with ESMTPS id CE94521F760 for ; Mon, 19 Oct 2015 09:01:08 -0700 (PDT) X-Virus-Scanned: amavisd-new at mail2.tohojo.dk DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=toke.dk; s=201310; t=1445270464; bh=qffs3wN/EoN8ONHt5w096fdUSBskOVZnOiGZYYg/s4Q=; h=From:To:Subject:Date; b=QfE5vWiEPMqSKu6Z2MsdVfaw9UARNN7MlIeIf/9bKKPzEELWcA1Qm6dE3bVwZjxfl wRJtdbiacs4lRZhAED3i8bFprcTo4im5w6iuBSon54o+HKUcmFtwU5IaHEsz/AuAXT Ul7zaze5LxYwlm5lAqHtod1os1ndeUpEmxtesNYQ= Sender: toke@toke.dk Received: by alrua-kau.kau.toke.dk (Postfix, from userid 1000) id 2FB50C401AA; Mon, 19 Oct 2015 18:01:04 +0200 (CEST) From: =?utf-8?Q?Toke_H=C3=B8iland-J=C3=B8rgensen?= To: cake@lists.bufferbloat.net Date: Mon, 19 Oct 2015 18:01:04 +0200 X-Clacks-Overhead: GNU Terry Pratchett Message-ID: <87d1wavoe7.fsf@toke.dk> MIME-Version: 1.0 Content-Type: text/plain Subject: [Cake] Fixing iproute2 compile X-BeenThere: cake@lists.bufferbloat.net X-Mailman-Version: 2.1.13 Precedence: list List-Id: Cake - FQ_codel the next generation List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Oct 2015 16:01:31 -0000 So finally got iproute2 to compile out of the kau.toke.dk repo. The patch below was needed to cake. Posting it here rather than just committing in the hope of getting someone (Jonathan?) to take a look at it and fix it everywhere it's needed :) -Toke diff --git a/tc/q_cake.c b/tc/q_cake.c index 4d64405..1384a46 100644 --- a/tc/q_cake.c +++ b/tc/q_cake.c @@ -495,7 +496,7 @@ static int cake_print_xstats(struct qdisc_util *qu, FILE *f, } else if (stnc->version >= 1 && stnc->version < 0xFF && stnc->max_tins == TC_CAKE_MAX_TINS - && RTA_PAYLOAD(xstats) >= offsetof(*stnc, capacity_estimate)) + && RTA_PAYLOAD(xstats) >= offsetof(typeof(*stnc), capacity_estimate)) { int i;