Comment 2 for bug 1920794

Revision history for this message
Florian Lohoff (fl0l0) wrote :

This is caused be mismatch between Kernel and iproute2 version. The kernel v5 offers ipset v7 which causes iproute to not be built with ematch ipset functionality.

This has been fixed in iproute upstream in - its a one line fix - Pulling this into iproute2 and rebuilding (After committing it) works.

https://github.com/shemminger/iproute2/commit/650591a7a70cd79d826fcdc579a20c168c987cf2

commit 650591a7a70cd79d826fcdc579a20c168c987cf2
Author: Tony Ambardar <email address hidden>
Date: Tue Jul 7 00:58:33 2020 -0700

    configure: support ipset version 7 with kernel version 5

    The configure script checks for ipset v6 availability but doesn't test
    for v7, which is backward compatible and used on kernel v5.x systems.
    Update the script to test for both ipset versions. Without this change,
    the tc ematch function em_ipset will be disabled.

    Signed-off-by: Tony Ambardar <email address hidden>
    Signed-off-by: Stephen Hemminger <email address hidden>