mirror of
https://git.openafs.org/openafs.git
synced 2025-01-31 05:27:44 +00:00
STABLE14-viced-multi-probe-addr-20070808
FIXES 67355 MultiProbeAlternateAddress_r badly indexes the list of interfaces for clients with multiple IP interfaces, resulting in peers with IP address 0 port 0 to be created. This in turn results in rxi_sendmsg errors (on systems where caught early, as on Linux, on others it may pass unnoticed). (cherry picked from commit f099df38b2eff9c8c5afb52ec1a69dd89af22dad)
This commit is contained in:
parent
ddc7ad603b
commit
63bf2d2ced
@ -2161,8 +2161,8 @@ MultiProbeAlternateAddress_r(struct host *host)
|
||||
|
||||
interfaces[j] = host->interface->interface[i];
|
||||
conns[j] =
|
||||
rx_NewConnection(interfaces[i].addr,
|
||||
interfaces[i].port, 1, sc, 0);
|
||||
rx_NewConnection(interfaces[j].addr,
|
||||
interfaces[j].port, 1, sc, 0);
|
||||
rx_SetConnDeadTime(conns[j], 2);
|
||||
rx_SetConnHardDeadTime(conns[j], AFS_HARDDEADTIME);
|
||||
j++;
|
||||
|
Loading…
x
Reference in New Issue
Block a user