Skip to content
Snippets Groups Projects
Commit 6f3d772f authored by Takuma Umeya's avatar Takuma Umeya Committed by J. Bruce Fields
Browse files

nfs4: set source address when callback is generated


when callback is generated in NFSv4 server, it doesn't set the source
address. When an alias IP is utilized on NFSv4 server and suppose the
client is accessing via that alias IP (e.g. eth0:0), the client invokes
the callback to the IP address that is set on the original device (e.g.
eth0). This behavior results in timeout of xprt.
The patch sets the IP address that the client should invoke callback to.

Signed-off-by: default avatarTakuma Umeya <tumeya@redhat.com>
[bfields@redhat.com: Simplify gen_callback arguments, use helper function]
Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
parent 3c726023
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment