projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e58de0e
)
netdev-vport: Properly initialize tnl_port_config structure to 0.
author
Ben Pfaff
<blp@nicira.com>
Tue, 7 Dec 2010 18:41:05 +0000
(10:41 -0800)
committer
Ben Pfaff
<blp@nicira.com>
Tue, 7 Dec 2010 18:41:05 +0000
(10:41 -0800)
Otherwise the configuration starts out indeterminate and tends to be
rejected by the kernel.
Bug #4195.
lib/netdev-vport.c
patch
|
blob
|
history
diff --git
a/lib/netdev-vport.c
b/lib/netdev-vport.c
index f0de376a44b7988edab16f14f30d78de6cbe9848..f101b938c172edf5fc6a01c6b5d13153f8cb2335 100644
(file)
--- a/
lib/netdev-vport.c
+++ b/
lib/netdev-vport.c
@@
-438,6
+438,7
@@
parse_tunnel_config(const struct netdev_dev *dev, const struct shash *args,
bool ipsec_ip_set = false;
bool ipsec_mech_set = false;
+ memset(&config, 0, sizeof config);
config.flags |= TNL_F_PMTUD;
config.flags |= TNL_F_HDR_CACHE;