]> git.baikalelectronics.ru Git - kernel.git/commit
openvswitch: warn about missing first netlink attribute
authorNicolas Dichtel <nicolas.dichtel@6wind.com>
Thu, 8 Jun 2017 08:37:45 +0000 (10:37 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 8 Jun 2017 19:57:09 +0000 (15:57 -0400)
commitd2d6c7a3e81e65c567e28225e30dff18669de1f6
tree29e10bd3ba2c42a9a2c190ba3c11c021c56a1b48
parent21b748efa838795310fb12e25593e1fc68c8a691
openvswitch: warn about missing first netlink attribute

The first netlink attribute (value 0) must always be defined
as none/unspec.

Because we cannot change an existing UAPI, I add a comment to point the
mistake and avoid to propagate it in a new ovs API in the future.

Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/openvswitch.h