mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-14 00:00:00 -04:00
4536. [bug] ISC_SOCKEVENTATTR_USEMINMTU was not being cleared
when reusing the event structure. [RT #43885]
(cherry picked from commit a678e70481)
This commit is contained in:
parent
4043669112
commit
31da2eba56
2 changed files with 4 additions and 0 deletions
3
CHANGES
3
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]
|
||||
|
||||
|
|
|
|||
|
|
@ -915,6 +915,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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue