openvswitch: load NAT helper
Subsystems (4)
PATCH 1/1 openvswitch: load NAT helper
Load the respective NAT helper module if the flow uses it.
Signed-off-by Flavio Leitner <[email protected]>
--- net/openvswitch/conntrack.c | 4 ++++ 1 file changed, 4 insertions(+)
net/openvswitch/conntrack.c +4 -0
@@ -1312,6 +1312,10 @@ static int ovs_ct_add_helper(struct ovs_conntrack_info *info, const char *name,rcu_assign_pointer (help->helper, helper); info->helper = helper; + +if (info->nat) +request_module ("ip_nat_%s" , name); +return 0 ; }
Signature · 1 line
2.14.4
From: Flavio Leitner <[email protected]>
Date: Fri, 28 Sep 2018 14:51:28 -0300
Quoted 3 lines
Load the respective NAT helper module if the flow uses it.
Signed-off-by Flavio Leitner <[email protected]>
Applied.