]> git.baikalelectronics.ru Git - kernel.git/commit
SUNRPC: Only save the TCP source port after the connection is complete
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 16 Mar 2022 23:18:25 +0000 (19:18 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Tue, 22 Mar 2022 19:52:55 +0000 (15:52 -0400)
commit1a04434bee431070bf6823e3ecd44924924ac1ce
tree4018fdd451aeabb697457df769e3662d66a64051
parent7bb619385760321e581caca147714382df1e9dac
SUNRPC: Only save the TCP source port after the connection is complete

Since the RPC client uses a non-blocking connect(), we do not expect to
see it return '0' under normal circumstances.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
net/sunrpc/xprtsock.c