• T
    nfs4: set source address when callback is generated · 6f3d772f
    Takuma Umeya 提交于
    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: NTakuma Umeya <tumeya@redhat.com>
    [bfields@redhat.com: Simplify gen_callback arguments, use helper function]
    Signed-off-by: NJ. Bruce Fields <bfields@redhat.com>
    6f3d772f
state.h 15.4 KB