Some distro kernels (in particular the Debian 3.2.0-3
authorJohannes Berg <johannes.berg@intel.com>
Sun, 5 Aug 2012 10:29:41 +0000 (12:29 +0200)
committerLuis R. Rodriguez <mcgrof@frijolero.org>
Mon, 6 Aug 2012 19:52:27 +0000 (12:52 -0700)
commit0ab0e31955e0016a4048724f794e8994ed4eec07
treef456677b4a76eb99fb0bde97e41736888d0a155b
parent6260c9b84c5c02981fb02b377fcac477153ef92b
Some distro kernels (in particular the Debian 3.2.0-3
kernel I'm running) backport codel already, so trying
to backport it again causes issues. Protect the compat
backport with #ifdef TCA_CODEL_MAX.

Also link the flow_dissector code into the codel module
which then won't be loaded on kernels that already have
codel backported.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
compat/Makefile
compat/flow_dissector.c
compat/sch_fq_codel.c [deleted file]
compat/sch_fq_codel_core.c [new file with mode: 0644]
include/linux/compat-3.5.h
include/net/codel.h