Added a case for OVS_TUNNEL_KEY_ATTR_PAD to the switch statement
in ip_tun_from_nlattr in order to prevent the default case
returning an error.
Signed-off-by: Kris Murphy <[email protected]>
---
 datapath/flow_netlink.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/datapath/flow_netlink.c b/datapath/flow_netlink.c
index 0e38dd2..1e08ed3 100644
--- a/datapath/flow_netlink.c
+++ b/datapath/flow_netlink.c
@@ -651,6 +651,8 @@ static int ip_tun_from_nlattr(const struct nlattr *attr,
                        tun_flags |= TUNNEL_VXLAN_OPT;
                        opts_type = type;
                        break;
+               case OVS_TUNNEL_KEY_ATTR_PAD:
+                       break;
                default:
                        OVS_NLERR(log, "Unknown IP tunnel attribute %d",
                                  type);
-- 
2.7.4

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to