mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 07:20:11 +00:00
rx: remove spurious compare for maxDgramPackets
maxDgramPackets is initially assigned this value after correcting for the wire endian. This compare is harmless on little endian since the network endian value will typically be huge and redundant on big endian machines. Change-Id: I4a070b2964805f45c0593c80a2604c4e4cd26ff7 Reviewed-on: http://gerrit.openafs.org/3015 Reviewed-by: Derrick Brashear <shadow@dementia.org> Reviewed-by: Jeffrey Altman <jaltman@openafs.org> Tested-by: Jeffrey Altman <jaltman@openafs.org>
This commit is contained in:
parent
dcb40c9fb8
commit
da400a24a7
@ -4297,7 +4297,6 @@ rxi_ReceiveAckPacket(struct rx_call *call, struct rx_packet *np,
|
|||||||
maxDgramPackets = MIN(maxDgramPackets, rxi_nDgramPackets);
|
maxDgramPackets = MIN(maxDgramPackets, rxi_nDgramPackets);
|
||||||
maxDgramPackets =
|
maxDgramPackets =
|
||||||
MIN(maxDgramPackets, (int)(peer->ifDgramPackets));
|
MIN(maxDgramPackets, (int)(peer->ifDgramPackets));
|
||||||
maxDgramPackets = MIN(maxDgramPackets, tSize);
|
|
||||||
if (maxDgramPackets > 1) {
|
if (maxDgramPackets > 1) {
|
||||||
peer->maxDgramPackets = maxDgramPackets;
|
peer->maxDgramPackets = maxDgramPackets;
|
||||||
call->MTU = RX_JUMBOBUFFERSIZE + RX_HEADER_SIZE;
|
call->MTU = RX_JUMBOBUFFERSIZE + RX_HEADER_SIZE;
|
||||||
|
Loading…
Reference in New Issue
Block a user