projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
508646a
)
openvswitch: load NAT helper
author
Flavio Leitner
<fbl@redhat.com>
Fri, 28 Sep 2018 17:51:28 +0000
(14:51 -0300)
committer
David S. Miller
<davem@davemloft.net>
Fri, 5 Oct 2018 04:45:16 +0000
(21:45 -0700)
Load the respective NAT helper module if the flow uses it.
Signed-off-by: Flavio Leitner <fbl@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/openvswitch/conntrack.c
patch
|
blob
|
history
diff --git
a/net/openvswitch/conntrack.c
b/net/openvswitch/conntrack.c
index 0aeb34c6389dcf1328a9877481d532284eb79433..35ae64cbef33fa733c3ffb98bffcdbae78c2273a 100644
(file)
--- a/
net/openvswitch/conntrack.c
+++ b/
net/openvswitch/conntrack.c
@@
-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;
}