Add SOL_SMC from Linux 5.18 to bits/socket.h
Checks
Context |
Check |
Description |
dj/TryBot-apply_patch |
success
|
Patch applied to master at the time it was sent
|
dj/TryBot-32bit |
success
|
Build for i686
|
Commit Message
Linux 5.18 adds a constant SOL_SMC to the getsockopt / setsockopt
levels; add this constant to bits/socket.h.
Tested for x86_64.
Comments
On Mai 30 2022, Joseph Myers wrote:
> Linux 5.18 adds a constant SOL_SMC to the getsockopt / setsockopt
> levels; add this constant to bits/socket.h.
Ok.
@@ -171,6 +171,7 @@ typedef __socklen_t socklen_t;
#define SOL_XDP 283
#define SOL_MPTCP 284
#define SOL_MCTP 285
+#define SOL_SMC 286
/* Maximum queue length specifiable by listen. */
#define SOMAXCONN 4096