<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>That fix has already been committed. Or something darn close to it <a href="https://kau.toke.dk/git/cake/iproute2/commit/?id=ef1bbd6718c7c2d30814d5b1e3ee6882a668b6d8">https://kau.toke.dk/git/cake/iproute2/commit/?id=ef1bbd6718c7c2d30814d5b1e3ee6882a668b6d8</a><br><br><div>--</div><div>Cheers,</div><div><br></div><div><a href="mailto:Kevin@darbyshire-bryant.me.uk">Kevin@Darbyshire-Bryant.me.uk</a></div><div>Sent from my phone, apologies for brevity, spelling & top posting</div></div><div><br>On 19 Oct 2015, at 17:01, Toke Høiland-Jørgensen <<a href="mailto:toke@toke.dk">toke@toke.dk</a>> wrote:<br><br></div><blockquote type="cite"><div><span>So finally got iproute2 to compile out of the <a href="http://kau.toke.dk">kau.toke.dk</a> repo. The</span><br><span>patch below was needed to cake. Posting it here rather than just</span><br><span>committing in the hope of getting someone (Jonathan?) to take a look at</span><br><span>it and fix it everywhere it's needed :)</span><br><span></span><br><span>-Toke</span><br><span></span><br><span>diff --git a/tc/q_cake.c b/tc/q_cake.c</span><br><span>index 4d64405..1384a46 100644</span><br><span>--- a/tc/q_cake.c</span><br><span>+++ b/tc/q_cake.c</span><br><span>@@ -495,7 +496,7 @@ static int cake_print_xstats(struct qdisc_util *qu, FILE *f,</span><br><span></span><br><span> } else if (stnc->version >= 1 && stnc->version < 0xFF</span><br><span> && stnc->max_tins == TC_CAKE_MAX_TINS</span><br><span>- && RTA_PAYLOAD(xstats) >= offsetof(*stnc, capacity_estimate))</span><br><span>+ && RTA_PAYLOAD(xstats) >= offsetof(typeof(*stnc), capacity_estimate))</span><br><span> {</span><br><span> int i;</span><br><span></span><br><span>_______________________________________________</span><br><span>Cake mailing list</span><br><span><a href="mailto:Cake@lists.bufferbloat.net">Cake@lists.bufferbloat.net</a></span><br><span><a href="https://lists.bufferbloat.net/listinfo/cake">https://lists.bufferbloat.net/listinfo/cake</a></span><br></div></blockquote></body></html>