]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
net/hsr: Fixed version field in ENUM
authorPeter Heise <mail@pheise.de>
Wed, 20 Apr 2016 07:08:29 +0000 (09:08 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 20 Apr 2016 14:51:20 +0000 (10:51 -0400)
New field (IFLA_HSR_VERSION) was added in the middle of an existing
ENUM and would break kernel ABI, therefore moved to the end.
Reported by Stephen Hemminger.

Signed-off-by: Peter Heise <peter.heise@airbus.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/if_link.h

index 5ffdcb34e35b2a2c80472e2a03c9b72c430d5e35..af8fd58b40063434f758cbd4dd2554e81ea28805 100644 (file)
@@ -774,9 +774,9 @@ enum {
        IFLA_HSR_SLAVE1,
        IFLA_HSR_SLAVE2,
        IFLA_HSR_MULTICAST_SPEC,        /* Last byte of supervision addr */
-       IFLA_HSR_VERSION,               /* HSR version */
        IFLA_HSR_SUPERVISION_ADDR,      /* Supervision frame multicast addr */
        IFLA_HSR_SEQ_NR,
+       IFLA_HSR_VERSION,               /* HSR version */
        __IFLA_HSR_MAX,
 };