ntirpc
ntirpc copied to clipboard
Initialzing local addr in UDP.
In UDP local address is ADDR_ANY, We are initialzing it to local ip (IPv4).
This is for IPv4. For IPv6, Can we do same thing in "svc_dg_store_in6_pktinfo()"
Without above changes NFSv3 udp support is not working. We want to make sure that above changes are not breaking any existing functionalities for any specific NFS clients.
cc: @pradeepthomas, @Gaurav-Gangalwar
IP_PKTINFO is supposed to hold the destination address from the IP packet header, so it should be a local address on this machine, not IN_ADDR_ANY. What system are you using?