Skip to content

Commit b84e930

Browse files
peterheisedavem330
authored andcommitted
net/hsr: Fixed version field in ENUM
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>
1 parent 46e7b8d commit b84e930

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/uapi/linux/if_link.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -774,9 +774,9 @@ enum {
774774
IFLA_HSR_SLAVE1,
775775
IFLA_HSR_SLAVE2,
776776
IFLA_HSR_MULTICAST_SPEC, /* Last byte of supervision addr */
777-
IFLA_HSR_VERSION, /* HSR version */
778777
IFLA_HSR_SUPERVISION_ADDR, /* Supervision frame multicast addr */
779778
IFLA_HSR_SEQ_NR,
779+
IFLA_HSR_VERSION, /* HSR version */
780780
__IFLA_HSR_MAX,
781781
};
782782

0 commit comments

Comments
 (0)