summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/netfilter/nf_tables.h
diff options
context:
space:
mode:
authorFlavio Leitner <fbl@redhat.com>2019-04-17 11:46:17 -0300
committerPablo Neira Ayuso <pablo@netfilter.org>2019-04-30 14:19:56 +0200
commitfec9c271b8f1bde1086be5aa415cdb586e0dc800 (patch)
tree52245b89381ed3290fe55738b4243236d3e4cf08 /include/uapi/linux/netfilter/nf_tables.h
parent53b11308a1b53d7e98f65dfd5faea124df99ca14 (diff)
openvswitch: load and reference the NAT helper.
This improves the original commit 17c357efe5ec ("openvswitch: load NAT helper") where it unconditionally tries to load the module for every flow using NAT, so not efficient when loading multiple flows. It also doesn't hold any references to the NAT module while the flow is active. This change fixes those problems. It will try to load the module only if it's not present. It grabs a reference to the NAT module and holds it while the flow is active. Finally, an error message shows up if either actions above fails. Fixes: 17c357efe5ec ("openvswitch: load NAT helper") Signed-off-by: Flavio Leitner <fbl@redhat.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/uapi/linux/netfilter/nf_tables.h')
0 files changed, 0 insertions, 0 deletions