• Eric Dumazet's avatar
    netfilter: xt_hashlimit fix · 28337ff5
    Eric Dumazet authored
    Commit 78454473
    (netfilter: iptables: lock free counters) broke xt_hashlimit netfilter module :
    
    This module was storing a pointer inside its xt_hashlimit_info, and this pointer
    is not relocated when we temporarly switch tables (iptables -L).
    
    This hack is not not needed at all (probably a leftover from
    ancient time), as each cpu should and can access to its own copy.
    Signed-off-by: default avatarEric Dumazet <dada1@cosmosbay.com>
    Signed-off-by: default avatarPatrick McHardy <kaber@trash.net>
    28337ff5
xt_hashlimit.c 27.1 KB