netfilter: nft_flow_offload: no need to flush entries on module removal
"Linux Kernel Mailing List" <[email protected]>
| Newsgroups | gmane.linux.kernel.commits.head |
|---|---|
| Message-ID | <[email protected]> |
Web: https://git.kernel.org/torvalds/c/992cfc7c5d105094da7c21c9c74d97ac26bb1e56 Commit: 992cfc7c5d105094da7c21c9c74d97ac26bb1e56 Parent: c7f0030b5b67866c588845abde7bf011de25b98a Refname: refs/heads/master Author: Pablo Neira Ayuso <[email protected]> AuthorDate: Thu Feb 1 18:49:01 2018 +0100 Committer: Pablo Neira Ayuso <[email protected]> CommitDate: Fri Feb 2 18:26:43 2018 +0100 netfilter: nft_flow_offload: no need to flush entries on module removal nft_flow_offload module removal does not require to flush existing flowtables, it is valid to remove this module while keeping flowtables around. Signed-off-by: Pablo Neira Ayuso <[email protected]> --- net/netfilter/nft_flow_offload.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/net/netfilter/nft_flow_offload.c b/net/netfilter/nft_flow_offload.c index 1739ff8ca21f..e5c45c7ac02a 100644 --- a/net/netfilter/nft_flow_offload.c +++ b/net/netfilter/nft_flow_offload.c @@ -247,14 +247,8 @@ register_expr: static void __exit nft_flow_offload_module_exit(void) { - struct net *net;