diff mbox series

[v2,8/8] Add IPPROTO_SMC from Linux 6.11 to netinet/in.h

Message ID 20241008184634.245607-9-adhemerval.zanella@linaro.org
State New
Headers show
Series Updates for Linux 6.11 | expand

Commit Message

Adhemerval Zanella Netto Oct. 8, 2024, 6:45 p.m. UTC
Linux 6.11 adds a define IPPROTO_SMC to its include/uapi/linux/in.h
(commit d25a92ccae6b).

Checked on x86_64-linux-gnu.
---
 inet/netinet/in.h | 2 ++
 1 file changed, 2 insertions(+)

Comments

H.J. Lu Oct. 8, 2024, 9:09 p.m. UTC | #1
On Wed, Oct 9, 2024 at 2:48 AM Adhemerval Zanella
<adhemerval.zanella@linaro.org> wrote:
>
> Linux 6.11 adds a define IPPROTO_SMC to its include/uapi/linux/in.h
> (commit d25a92ccae6b).
>
> Checked on x86_64-linux-gnu.
> ---
>  inet/netinet/in.h | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/inet/netinet/in.h b/inet/netinet/in.h
> index f684be5beb..29fdd9b85e 100644
> --- a/inet/netinet/in.h
> +++ b/inet/netinet/in.h
> @@ -93,6 +93,8 @@ enum
>  #define IPPROTO_ETHERNET       IPPROTO_ETHERNET
>      IPPROTO_RAW = 255,    /* Raw IP packets.  */
>  #define IPPROTO_RAW            IPPROTO_RAW
> +    IPPROTO_SMC = 256,    /* Shared Memory Communications.  */
> +#define IPPROTO_SMC            IPPROTO_SMC
>      IPPROTO_MPTCP = 262,   /* Multipath TCP connection.  */
>  #define IPPROTO_MPTCP          IPPROTO_MPTCP
>      IPPROTO_MAX
> --
> 2.43.0
>

LGTM.

Reviewed-by: H.J. Lu <hjl.tools@gmail.com>

Thanks.
diff mbox series

Patch

diff --git a/inet/netinet/in.h b/inet/netinet/in.h
index f684be5beb..29fdd9b85e 100644
--- a/inet/netinet/in.h
+++ b/inet/netinet/in.h
@@ -93,6 +93,8 @@  enum
 #define IPPROTO_ETHERNET	IPPROTO_ETHERNET
     IPPROTO_RAW = 255,	   /* Raw IP packets.  */
 #define IPPROTO_RAW		IPPROTO_RAW
+    IPPROTO_SMC = 256,	   /* Shared Memory Communications.  */
+#define IPPROTO_SMC		IPPROTO_SMC
     IPPROTO_MPTCP = 262,   /* Multipath TCP connection.  */
 #define IPPROTO_MPTCP		IPPROTO_MPTCP
     IPPROTO_MAX