From: Mark Andrews Date: Tue, 13 Dec 2016 23:42:38 +0000 (+1100) Subject: 4536. [bug] ISC_SOCKEVENTATTR_USEMINMTU was not being cleared X-Git-Tag: v9.12.0a1~603 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=a678e70481c72e28cf8a2818ef4f7ab5b214a103;p=thirdparty%2Fbind9.git 4536. [bug] ISC_SOCKEVENTATTR_USEMINMTU was not being cleared when reusing the event structure. [RT #43885] --- diff --git a/CHANGES b/CHANGES index 6e8edb7cec8..01f3f41adf7 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,6 @@ +4536. [bug] ISC_SOCKEVENTATTR_USEMINMTU was not being cleared + when reusing the event structure. [RT #43885] + 4535. [bug] Address race condition in setting / testing of DNS_REQUEST_F_SENDING. [RT #43889] diff --git a/bin/named/client.c b/bin/named/client.c index 1b6388e4b3a..89721a7e7d5 100644 --- a/bin/named/client.c +++ b/bin/named/client.c @@ -929,6 +929,7 @@ client_sendpkg(ns_client_t *client, isc_buffer_t *buffer) { * MTU link force fragmentation at 1280 if it is a IPv6 * response. */ + client->sendevent->attributes &= ~ISC_SOCKEVENTATTR_USEMINMTU; if (!TCP_CLIENT(client) && r.length > 1432) client->sendevent->attributes |= ISC_SOCKEVENTATTR_USEMINMTU;