summarylogtreecommitdiffstats
path: root/glibc-2.20-linux-3.16-additions.patch
diff options
context:
space:
mode:
Diffstat (limited to 'glibc-2.20-linux-3.16-additions.patch')
-rw-r--r--glibc-2.20-linux-3.16-additions.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/glibc-2.20-linux-3.16-additions.patch b/glibc-2.20-linux-3.16-additions.patch
new file mode 100644
index 000000000000..be57a3817956
--- /dev/null
+++ b/glibc-2.20-linux-3.16-additions.patch
@@ -0,0 +1,15 @@
+diff --git a/sysdeps/gnu/netinet/udp.h b/sysdeps/gnu/netinet/udp.h
+index 32159cd..8cc1c60 100644
+--- a/sysdeps/gnu/netinet/udp.h
++++ b/sysdeps/gnu/netinet/udp.h
+@@ -78,6 +78,10 @@ struct udphdr
+ #define UDP_CORK 1 /* Never send partially complete segments. */
+ #define UDP_ENCAP 100 /* Set the socket to accept
+ encapsulated packets. */
++#define UDP_NO_CHECK6_TX 101 /* Disable sending checksum for UDP
++ over IPv6. */
++#define UDP_NO_CHECK6_RX 102 /* Disable accepting checksum for UDP
++ over IPv6. */
+
+ /* UDP encapsulation types */
+ #define UDP_ENCAP_ESPINUDP_NON_IKE 1 /* draft-ietf-ipsec-nat-t-ike-00/01 */