Skip to content

Commit 1090929

Browse files
cdluminatefacebook-github-bot
authored andcommitted
Reorder structure for compatibility with linux-6.0 (#346)
Summary: Fixes: #345 See also: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1022319 Pull Request resolved: #346 Reviewed By: wz337, wanchaol Differential Revision: D42553412 Pulled By: fduwjj fbshipit-source-id: c0132a4b5cf577f4fd957227d091a6417c78ba0b
1 parent 4a5e339 commit 1090929

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gloo/common/linux.cc

+1-1
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)