mirror of
https://github.com/torvalds/linux.git
synced 2026-11-24 15:33:28 +00:00
openvswitch: load NAT helper
Load the respective NAT helper module if the flow uses it. Signed-off-by: Flavio Leitner <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
committed by
David S. Miller
parent
508646aa2b
commit
17c357efe5
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user