• Takuma Umeya's avatar
    nfs4: set source address when callback is generated · 6f3d772f
    Takuma Umeya authored
    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>
    6f3d772f
nfs4callback.c 21.9 KB