Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-8]: src/external/bsd/bind/dist/lib/isc/unix Apply patch, requeste...
details: https://anonhg.NetBSD.org/src/rev/d28392cbb826
branches: netbsd-8
changeset: 445368:d28392cbb826
user: martin <martin%NetBSD.org@localhost>
date: Thu Oct 25 18:22:31 2018 +0000
description:
Apply patch, requested by he in ticket #1069:
fix bind9 issue #589: BIND will on NetBSD fail to send replies over
IPv4/UDP larger than 1432 bytes.
diffstat:
external/bsd/bind/dist/lib/isc/unix/socket.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r 4e11247ea645 -r d28392cbb826 external/bsd/bind/dist/lib/isc/unix/socket.c
--- a/external/bsd/bind/dist/lib/isc/unix/socket.c Mon Oct 22 07:42:27 2018 +0000
+++ b/external/bsd/bind/dist/lib/isc/unix/socket.c Thu Oct 25 18:22:31 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: socket.c,v 1.20.6.2 2018/08/13 12:05:25 martin Exp $ */
+/* $NetBSD: socket.c,v 1.20.6.3 2018/10/25 18:22:31 martin Exp $ */
/*
* Copyright (C) 2004-2016 Internet Systems Consortium, Inc. ("ISC")
@@ -1544,7 +1544,8 @@
#if defined(IPV6_USE_MIN_MTU)
if ((sock->type == isc_sockettype_udp) &&
- ((dev->attributes & ISC_SOCKEVENTATTR_USEMINMTU) != 0))
+ ((dev->attributes & ISC_SOCKEVENTATTR_USEMINMTU) != 0) &&
+ (sock->pf == AF_INET6))
{
int use_min_mtu = 1; /* -1, 0, 1 */
Home |
Main Index |
Thread Index |
Old Index