<div dir="ltr">I have a patch brewing. I will ask for a pull-request in a few hours :)<div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 8, 2015 at 10:57 AM, Loganaden Velvindron <span dir="ltr"><<a href="mailto:loganaden@gmail.com" target="_blank">loganaden@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi guys,<div><br></div><div>It appears that there are issues with building CAKE on a Linux kernel 4.2.2, due to relying on API that weren't released for the 4.2.2 release. Perhaps the solution would be to either not support the 4.2.2 release or use #ifdefs.</div><div><br></div><div> Here are the errors:</div><div><br></div><div><div>make -C /lib/modules/4.2.2-1-ARCH/build SUBDIRS=/home/logan/sch_cake modules</div><div>make[1]: Entering directory '/usr/lib/modules/4.2.2-1-ARCH/build'</div><div>  CC [M]  /home/logan/sch_cake/sch_cake.o</div><div>/home/logan/sch_cake/sch_cake.c: In function ‘cake_hash’:</div><div>/home/logan/sch_cake/sch_cake.c:253:8: error: ‘FLOW_DISSECTOR_F_STOP_AT_FLOW_LABEL’ undeclared (first use in this function)</div><div>        FLOW_DISSECTOR_F_STOP_AT_FLOW_LABEL);</div><div>        ^</div><div>/home/logan/sch_cake/sch_cake.c:253:8: note: each undeclared identifier is reported only once for each function it appears in</div><div>/home/logan/sch_cake/sch_cake.c:252:2: error: too many arguments to function ‘skb_flow_dissect_flow_keys’</div><div>  skb_flow_dissect_flow_keys(skb, &keys,</div><div>  ^</div><div>In file included from include/linux/skbuff.h:37:0,</div><div>                 from /home/logan/sch_cake/sch_cake.c:46:</div><div>include/net/flow_dissector.h:173:20: note: declared here</div><div> static inline bool skb_flow_dissect_flow_keys(const struct sk_buff *skb,</div><div>                    ^</div><div>scripts/Makefile.build:264: recipe for target '/home/logan/sch_cake/sch_cake.o' failed</div><div>make[2]: *** [/home/logan/sch_cake/sch_cake.o] Error 1</div><div>Makefile:1386: recipe for target '_module_/home/logan/sch_cake' failed</div><div>make[1]: *** [_module_/home/logan/sch_cake] Error 2</div><div>make[1]: Leaving directory '/usr/lib/modules/4.2.2-1-ARCH/build'</div><div>Makefile:7: recipe for target 'default' failed</div></div></div>
</blockquote></div><br></div>