]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
4536. [bug] ISC_SOCKEVENTATTR_USEMINMTU was not being cleared
authorMark Andrews <marka@isc.org>
Tue, 13 Dec 2016 23:42:38 +0000 (10:42 +1100)
committerMark Andrews <marka@isc.org>
Tue, 13 Dec 2016 23:42:38 +0000 (10:42 +1100)
                        when reusing the event structure. [RT #43885]

CHANGES
bin/named/client.c

diff --git a/CHANGES b/CHANGES
index 6e8edb7cec8d10f12a3f3d0e10e0304ad2404a23..01f3f41adf78c8b34fbb97f8fdf46f4e902ff8d3 100644 (file)
--- 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]
 
index 1b6388e4b3aa7f232abd9b321a25e9a8cd49c36e..89721a7e7d5e66575bda3b3ecebde39a5ca426ed 100644 (file)
@@ -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;