<div dir="ltr">For those not follow following sch_cake on github or the latest kernels changes;<br>due to recent updates to net_sched backported from 4.6 to kernels 4.4.11 and<br>4.5.5, the current sch_cake code on github needs an update and I believe is<br>unsuitable for use at this time (though I am in no way an authoritative source<br>on this matter). Since OpenWRT/LEDE is planning 4.4.x for the next release I<br>thought it relevant to post this since I've had quite a few headaches<br>troubleshooting kernel BUG checks and stack traces which are presumably related.<br><br>There's a simple bandaid fix in issue #20 in sch_cake.c<br>which changes the following:<br><br>#if KERNEL_VERSION(4, 6, 0) > LINUX_VERSION_CODE<br>to:<br>#if KERNEL_VERSION(4, 4, 0) > LINUX_VERSION_CODE<br><br>Although now it should probably be (4, 4, 11) and above, but I believe these<br>issues stem a bit deeper than this can fix since I've seen stack traces with<br>layer_cake.qos with kernel 4.4.10 (with original code) and on kernel 4.4.11<br>with the bandaid fix.<br><br>I must also point out that my own issues could be a platform-specific for<br>x86/Debian, though chromi@github had commented previously that the current code<br>is unstable with diffserv turned on so I am unsure if this is related but I<br>have not been able to reproduce the stack traces after removing sch_cake.<br><br>Relevant links:<br><a href="https://github.com/dtaht/sch_cake/issues/20">https://github.com/dtaht/sch_cake/issues/20</a><br><a href="https://git.kernel.org/cgit/linux/kernel/git/stable/stable-queue.git/tree/releases/4.4.11">https://git.kernel.org/cgit/linux/kernel/git/stable/stable-queue.git/tree/releases/4.4.11</a><br><a href="https://git.kernel.org/cgit/linux/kernel/git/stable/stable-queue.git/tree/releases/4.5.5">https://git.kernel.org/cgit/linux/kernel/git/stable/stable-queue.git/tree/releases/4.5.5</a></div>