4536. [bug] ISC_SOCKEVENTATTR_USEMINMTU was not being cleared

when reusing the event structure. [RT #43885]
This commit is contained in:
Mark Andrews 2016-12-14 10:42:38 +11:00
parent 37a8db0ba4
commit a678e70481
2 changed files with 4 additions and 0 deletions

View file

@ -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]

View 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;