]> www.infradead.org Git - users/jedix/linux-maple.git/commit
SUNRPC: rpcbind should never reset the port to the value '0'
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 24 Mar 2025 23:05:48 +0000 (19:05 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 26 Mar 2025 16:17:38 +0000 (12:17 -0400)
commit214c13e380ad7636631279f426387f9c4e3c14d9
tree904cea2e4cdad0fffa24d22d28a04873fbbaa65e
parentaa42add73ce9b9e3714723d385c254b75814e335
SUNRPC: rpcbind should never reset the port to the value '0'

If we already had a valid port number for the RPC service, then we
should not allow the rpcbind client to set it to the invalid value '0'.

Reviewed-by: Jeff Layton <jlayton@kernel.org>
Reviewed-by: Benjamin Coddington <bcodding@redhat.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
net/sunrpc/rpcb_clnt.c