diff options
author | Serhey Popovych <serhe.popovych@gmail.com> | 2018-03-07 11:10:40 +0200 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2018-04-27 18:56:22 +0200 |
commit | 3b2530ce7a0d6aa3bee687bf0167bb4908c7b798 (patch) | |
tree | 427ed0982d9b9e5e1ceeb7f429ca8a3a887837b2 /extensions/libip6t_LOG.c | |
parent | d3f143727c308ff303ea9404945e71138a7792a1 (diff) |
xtables: Do not register matches/targets with incompatible revision
If kernel tells revision isn't found/supported at the moment we should
keep entity in pending list, not register or bail to do so later.
Kernel might still load module for entity we asking it for and this
could be slow on some embedded devices.
Catch double registration attempts by checking me->next being non-NULL
in xtables_register_match() and xtables_register_target().
Signed-off-by: Serhey Popovych <serhe.popovych@gmail.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'extensions/libip6t_LOG.c')
0 files changed, 0 insertions, 0 deletions