summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPravin B Shelar <pshelar@ovn.org>2016-07-17 09:52:11 -0700
committerPravin B Shelar <pshelar@ovn.org>2016-07-17 10:25:09 -0700
commitf34648187b033ee9225d72b3603d9c01d0afa2fc (patch)
tree789a5c9dc19d0dee79a2fb22795d139850ffb312 /lib
parent8ce3733975d3c55368c03a81f3f58e35875a6507 (diff)
downloadopenvswitch-f34648187b033ee9225d72b3603d9c01d0afa2fc.tar.gz
datapath: backport: libnl: nla_put_be64(): align on a 64-bit area
Upstream commit: commit b46f6ded906ef0be52a4881ba50a084aeca64d7e Author: Nicolas Dichtel <nicolas.dichtel@6wind.com> libnl: nla_put_be64(): align on a 64-bit area nla_data() is now aligned on a 64-bit area. A temporary version (nla_put_be64_32bit()) is added for nla_put_net64(). This function is removed in the next patch. Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Pravin B Shelar <pshelar@ovn.org> Acked-by: Jesse Gross <jesse@kernel.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/odp-util.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/odp-util.c b/lib/odp-util.c
index b0977ded8..6d29b67d5 100644
--- a/lib/odp-util.c
+++ b/lib/odp-util.c
@@ -2593,6 +2593,8 @@ format_odp_tun_attr(const struct nlattr *attr, const struct nlattr *mask_attr,
format_odp_tun_geneve(a, ma, ds, verbose);
ds_put_cstr(ds, "),");
break;
+ case OVS_TUNNEL_KEY_ATTR_PAD:
+ break;
case __OVS_TUNNEL_KEY_ATTR_MAX:
default:
format_unknown_key(ds, a, ma);