Skip to content

Commit 2b3f185

Browse files
committed
Reorder structure for compatibility with linux-6.0
[ghstack-poisoned]
1 parent 4a5e339 commit 2b3f185

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gloo/common/linux.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,8 +193,8 @@ static int getInterfaceSpeedGLinkSettings(int sock, struct ifreq* ifr) {
193193
#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,6,0)
194194
constexpr auto link_mode_data_nwords = 3 * 127;
195195
struct {
196-
struct ethtool_link_settings req;
197196
__u32 link_mode_data[link_mode_data_nwords];
197+
struct ethtool_link_settings req;
198198
} ecmd;
199199
int rv;
200200

0 commit comments

Comments
 (0)