diff mbox

Add IPV6_FREEBIND from Linux 4.15

Message ID alpine.DEB.2.20.1802011816280.21283@digraph.polyomino.org.uk
State New
Headers show

Commit Message

Joseph Myers Feb. 1, 2018, 6:16 p.m. UTC
[Proposed for once the release changes for 2.27, and the post-release 
changes opening master for development for 2.28, have been committed.]

This patch adds the IPV6_FREEBIND macro from Linux 4.15 to
sysdeps/unix/sysv/linux/bits/in.h.

Tested for x86_64.

2018-02-01  Joseph Myers  <joseph@codesourcery.com>

	* sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.

Comments

Dmitry V. Levin Feb. 6, 2018, 12:26 a.m. UTC | #1
On Thu, Feb 01, 2018 at 06:16:58PM +0000, Joseph Myers wrote:
> [Proposed for once the release changes for 2.27, and the post-release 
> changes opening master for development for 2.28, have been committed.]
> 
> This patch adds the IPV6_FREEBIND macro from Linux 4.15 to
> sysdeps/unix/sysv/linux/bits/in.h.
> 
> Tested for x86_64.
> 
> 2018-02-01  Joseph Myers  <joseph@codesourcery.com>
> 
> 	* sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
> 
> diff --git a/sysdeps/unix/sysv/linux/bits/in.h b/sysdeps/unix/sysv/linux/bits/in.h
> index fb64f1b..2c86102 100644
> --- a/sysdeps/unix/sysv/linux/bits/in.h
> +++ b/sysdeps/unix/sysv/linux/bits/in.h
> @@ -228,6 +228,7 @@ struct in_pktinfo
>  #define IPV6_TRANSPARENT	75
>  #define IPV6_UNICAST_IF		76
>  #define IPV6_RECVFRAGSIZE	77
> +#define IPV6_FREEBIND		78
>  
>  /* Obsolete synonyms for the above.  */
>  #if !__USE_KERNEL_IPV6_DEFS

I've double-checked that this change matches Linux 4.15 headers.
diff mbox

Patch

diff --git a/sysdeps/unix/sysv/linux/bits/in.h b/sysdeps/unix/sysv/linux/bits/in.h
index fb64f1b..2c86102 100644
--- a/sysdeps/unix/sysv/linux/bits/in.h
+++ b/sysdeps/unix/sysv/linux/bits/in.h
@@ -228,6 +228,7 @@  struct in_pktinfo
 #define IPV6_TRANSPARENT	75
 #define IPV6_UNICAST_IF		76
 #define IPV6_RECVFRAGSIZE	77
+#define IPV6_FREEBIND		78
 
 /* Obsolete synonyms for the above.  */
 #if !__USE_KERNEL_IPV6_DEFS