path: root/
diff options
authorSerhey Popovych <>2018-03-07 11:10:40 +0200
committerFlorian Westphal <>2018-04-27 18:56:22 +0200
commit3b2530ce7a0d6aa3bee687bf0167bb4908c7b798 (patch)
tree427ed0982d9b9e5e1ceeb7f429ca8a3a887837b2 /
parentd3f143727c308ff303ea9404945e71138a7792a1 (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 <> Signed-off-by: Florian Westphal <>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions