summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorOlaf Kirch <okir@suse.de>2011-03-02 10:09:24 -0500
committerSteve Dickson <steved@redhat.com>2011-03-02 10:09:24 -0500
commit74ef3df0236c55185225c62fba34953f2582da72 (patch)
treeff7daa061a51f23b53bb5f1e6781ecaa552808ff /configure.ac
parent9bdcba10aa67ce3f67810c7aaac944a00dcfcee5 (diff)
downloadti-rpc-74ef3df0236c55185225c62fba34953f2582da72.tar.gz
Try to ensure datagram replies come from the address requests were sent to.
On multi-homed servers it is currently possible for a reply to be sent from a different address to the one the request was received from. This is because there is no strong connection between the request and the reply as there is with stream. This causes problems with some clients, particularly those that uses connected datagram sockets. So use IP_PKTINFO or IP6_PKTINFO to create the necessary connection, recording the destination of the request, and setting the source of the reply. Note that we clear the interface index (ifindex) as it is not necessary (and is sometimes wrong) to set the reply out on the same interface that the request arrived on. Reviewed-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Olaf Kirch <okir@suse.de> Signed-off-by: NeilBrown <neilb@suse.de> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions