Add IPV6_ROUTER_ALERT_ISOLATE from Linux 5.1 to bits/in.h

Message ID alpine.DEB.2.21.1906032234320.24713@digraph.polyomino.org.uk
State New
Headers show
Series
  • Add IPV6_ROUTER_ALERT_ISOLATE from Linux 5.1 to bits/in.h
Related show

Commit Message

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 S. Myers
joseph@codesourcery.com

Comments

Joseph Myers June 10, 2019, 3:57 p.m. | #1
Ping.  This patch 
<https://sourceware.org/ml/libc-alpha/2019-06/msg00027.html> is pending 
review.

-- 
Joseph S. Myers
joseph@codesourcery.com
Adhemerval Zanella June 11, 2019, 1:11 p.m. | #2
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