X-Git-Url: https://git.openafs.org/?p=openafs.git;a=blobdiff_plain;f=src%2FWINNT%2Fafsd%2Fcm_conn.c;h=0f644fcde93c1c004640f996d607760431949842;hp=8c060a80123017d74e56fe229810693d831a6346;hb=2c12b80a4fdb8323ff3fdd194ff1994ad0a0b8e1;hpb=58e7b85ab7c3c839c5dd126bd1c254f68a16b73a diff --git a/src/WINNT/afsd/cm_conn.c b/src/WINNT/afsd/cm_conn.c index 8c060a8..0f644fc 100644 --- a/src/WINNT/afsd/cm_conn.c +++ b/src/WINNT/afsd/cm_conn.c @@ -35,6 +35,7 @@ unsigned short NatPingInterval = CM_CONN_NATPINGINTERVAL; afs_uint32 cryptall = 0; afs_uint32 cm_anonvldb = 0; +afs_uint32 rx_pmtu_discovery = 0; void cm_PutConn(cm_conn_t *connp) { @@ -1189,7 +1190,9 @@ static void cm_NewRXConnection(cm_conn_t *tcp, cm_ucell_t *ucellp, * Let the Rx library know that we can auto-retry if an * RX_MSGSIZE error is returned. */ - rx_SetMsgsizeRetryErr(tcp->rxconnp, RX_MSGSIZE); + if (rx_pmtu_discovery) + rx_SetMsgsizeRetryErr(tcp->rxconnp, RX_MSGSIZE); + /* * Attempt to limit NAT pings to the anonymous file server connections. * Only file servers implement client callbacks and we only need one ping