Patchwork Add IPV6_ROUTER_ALERT_ISOLATE from Linux 5.1 to bits/in.h

login
register
mail settings
Submitter Joseph Myers
Date June 3, 2019, 10:34 p.m.
Message ID <alpine.DEB.2.21.1906032234320.24713@digraph.polyomino.org.uk>
Download mbox | patch
Permalink /patch/32978/
State New
Headers show

Comments

Joseph Myers - June 3, 2019, 10:34 p.m.
This patch adds the new constant IPV6_ROUTER_ALERT_ISOLATE from Linux
5.1 to sysdeps/unix/sysv/linux/bits/in.h.

Tested for x86_64.

2019-06-03  Joseph Myers  <joseph@codesourcery.com>

	* sysdeps/unix/sysv/linux/bits/in.h (IPV6_ROUTER_ALERT_ISOLATE):
	New macro.
Joseph Myers - June 10, 2019, 3:57 p.m.
Ping.  This patch 
<https://sourceware.org/ml/libc-alpha/2019-06/msg00027.html> is pending 
review.
Adhemerval Zanella Netto - June 11, 2019, 1:11 p.m.
On 03/06/2019 19:34, Joseph Myers wrote:
> This patch adds the new constant IPV6_ROUTER_ALERT_ISOLATE from Linux
> 5.1 to sysdeps/unix/sysv/linux/bits/in.h.
> 
> Tested for x86_64.
> 
> 2019-06-03  Joseph Myers  <joseph@codesourcery.com>
> 
> 	* sysdeps/unix/sysv/linux/bits/in.h (IPV6_ROUTER_ALERT_ISOLATE):
> 	New macro.

LGTM, it aligns to kernel commit 9036b2fe092a107856edd1a3bad48b83f2b45000.

Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>

> 
> diff --git a/sysdeps/unix/sysv/linux/bits/in.h b/sysdeps/unix/sysv/linux/bits/in.h
> index 662779968e..71300fb81e 100644
> --- a/sysdeps/unix/sysv/linux/bits/in.h
> +++ b/sysdeps/unix/sysv/linux/bits/in.h
> @@ -192,6 +192,7 @@ struct in_pktinfo
>  #define IPV6_JOIN_ANYCAST	27
>  #define IPV6_LEAVE_ANYCAST	28
>  #define IPV6_MULTICAST_ALL	29
> +#define IPV6_ROUTER_ALERT_ISOLATE 30
>  #define IPV6_IPSEC_POLICY	34
>  #define IPV6_XFRM_POLICY	35
>  #define IPV6_HDRINCL		36
>

Patch

diff --git a/sysdeps/unix/sysv/linux/bits/in.h b/sysdeps/unix/sysv/linux/bits/in.h
index 662779968e..71300fb81e 100644
--- a/sysdeps/unix/sysv/linux/bits/in.h
+++ b/sysdeps/unix/sysv/linux/bits/in.h
@@ -192,6 +192,7 @@  struct in_pktinfo
 #define IPV6_JOIN_ANYCAST	27
 #define IPV6_LEAVE_ANYCAST	28
 #define IPV6_MULTICAST_ALL	29
+#define IPV6_ROUTER_ALERT_ISOLATE 30
 #define IPV6_IPSEC_POLICY	34
 #define IPV6_XFRM_POLICY	35
 #define IPV6_HDRINCL		36