Skip to contentSkip to conversation

Patch "openvswitch: Add missing case OVS_TUNNEL_KEY_ATTR_PAD" has been added to the 4.9-stable tree

PATCH [email protected] 1 participant 1 message Mar 27, 2017

Subsystems (3)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

openvswitch: Add missing case OVS_TUNNEL_KEY_ATTR_PAD

to the 4.9-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
openvswitch-add-missing-case-ovs_tunnel_key_attr_pad.patch
and it can be found in the queue-4.9 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From foo@baz Mon Mar 27 18:17:54 CEST 2017

From: Kris Murphy <[email protected]>
Date: Thu, 16 Mar 2017 10:51:28 -0500
Subject: openvswitch: Add missing case OVS_TUNNEL_KEY_ATTR_PAD

From: Kris Murphy <[email protected]>

[ Upstream commit 8f3dbfd79ed9ef9770305a7cc4e13dfd31ad2cd0 ]

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.

Fixes b46f6ded906e ("libnl: nla_put_be64(): align on a 64-bit area")
---
 net/openvswitch/flow_netlink.c |    2 ++
 1 file changed, 2 insertions(+)
net/openvswitch/flow_netlink.c +2 -0
@@ -649,6 +649,8 @@ static int ip_tun_from_nlattr(const stru
 			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);

Patches currently in stable-queue which might be from [email protected] are

queue-4.9/openvswitch-add-missing-case-ovs_tunnel_key_attr_pad.patch