]> git.karo-electronics.de Git - karo-tx-linux.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)
commitdaa6630a310fe2ad90ce5f7d2d196cd0353ef4fa
tree29e10bd3ba2c42a9a2c190ba3c11c021c56a1b48
parent0db47e3d323411beeb6ea97f2c4d19395c91fd8b
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