openvswitch: Add a missing break statement.
authorJarno Rajahalme <jarno@ovn.org>
Tue, 20 Dec 2016 01:06:33 +0000 (17:06 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Dec 2016 19:07:41 +0000 (14:07 -0500)
commit87e159c59d9f325d571689d4027115617adb32e6
tree1e891ba98f0a5b3874f679a651337aec9d49842b
parent4c0ef2319a6cc3506db2a546b9e6294ec635eb90
openvswitch: Add a missing break statement.

Add a break statement to prevent fall-through from
OVS_KEY_ATTR_ETHERNET to OVS_KEY_ATTR_TUNNEL.  Without the break
actions setting ethernet addresses fail to validate with log messages
complaining about invalid tunnel attributes.

Fixes: 0a6410fbde ("openvswitch: netlink: support L3 packets")
Signed-off-by: Jarno Rajahalme <jarno@ovn.org>
Acked-by: Pravin B Shelar <pshelar@ovn.org>
Acked-by: Jiri Benc <jbenc@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/openvswitch/flow_netlink.c