Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 17c357ef authored by Flavio Leitner's avatar Flavio Leitner Committed by David S. Miller
Browse files

openvswitch: load NAT helper



Load the respective NAT helper module if the flow uses it.

Signed-off-by: default avatarFlavio Leitner <fbl@redhat.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 508646aa
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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;
}