aboutsummaryrefslogtreecommitdiff
path: root/vswitchd/ovs-brcompatd.c
diff options
context:
space:
mode:
authorJesse Gross <jesse@nicira.com>2009-12-05 18:49:37 -0800
committerJesse Gross <jesse@nicira.com>2009-12-07 12:48:08 -0800
commit1e50dd6c34222ac5a823a9064e0ba6cacbdbfa74 (patch)
treeba4bf9114eb52851d9ee460adea0c4721c0cb153 /vswitchd/ovs-brcompatd.c
parenta740f0de5bec1e62dfa64173e6925e7872c66560 (diff)
gre: Temporary workarounds for GRE on Xen.
Two issues exist that prevent GRE tunnels from working properly on Xen: iptables rules and brcompatd. The first issue is that GRE traffic is not permitted by the default iptables rules. The second is that brcompatd removes ports from the configuration that it believes do not exist, which causes GRE ports to be deleted before they are created. This commit avoids these issues though not in the most optimal way. Better fixes will be forthcoming in the near future.
Diffstat (limited to 'vswitchd/ovs-brcompatd.c')
-rw-r--r--vswitchd/ovs-brcompatd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vswitchd/ovs-brcompatd.c b/vswitchd/ovs-brcompatd.c
index 99d08c5b..7944b8b0 100644
--- a/vswitchd/ovs-brcompatd.c
+++ b/vswitchd/ovs-brcompatd.c
@@ -1103,13 +1103,13 @@ main(int argc, char *argv[])
* 2) We periodically check all ports associated with bridges
* to see if they no longer exist.
*/
- if (prune_timeout) {
+ /*if (prune_timeout) {
rtnl_recv_update();
prune_ports();
nl_sock_wait(rtnl_sock, POLLIN);
poll_timer_wait(prune_timeout);
- }
+ }*/
nl_sock_wait(brc_sock, POLLIN);
unixctl_server_wait(unixctl);