]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf64b0114a0496513c1941ae589acebd3ca7e886c
tree1e891ba98f0a5b3874f679a651337aec9d49842b
parentfda7e63f956c59f788a35ec49fb8f204846daa72
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: 6d8fa5f794 ("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