diff options
author | Florian Westphal <fw@strlen.de> | 2018-07-04 20:25:32 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-08-24 13:12:36 +0200 |
commit | 894b753c4ee7a600307266e8f0f028815f1eee03 (patch) | |
tree | 52602eb5e301fa3a742c81a000b3a22e9956ec52 /include | |
parent | 1c7e225fa83ee3f22b3278ba55b900b7405ee008 (diff) | |
download | linux-stable-894b753c4ee7a600307266e8f0f028815f1eee03.tar.gz linux-stable-894b753c4ee7a600307266e8f0f028815f1eee03.tar.bz2 linux-stable-894b753c4ee7a600307266e8f0f028815f1eee03.zip |
netfilter: x_tables: set module owner for icmp(6) matches
[ Upstream commit d376bef9c29b3c65aeee4e785fffcd97ef0a9a81 ]
nft_compat relies on xt_request_find_match to increment
refcount of the module that provides the match/target.
The (builtin) icmp matches did't set the module owner so it
was possible to rmmod ip(6)tables while icmp extensions were still in use.
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions