SUNRPC: Remove BUG_ON call sites
authorChuck Lever <chuck.lever@oracle.com>
Tue, 19 Sep 2023 15:35:15 +0000 (11:35 -0400)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 16 Oct 2023 16:44:10 +0000 (12:44 -0400)
commit789ce196a31dd13276076762204bee87df893e53
treeff528c354d3937e950c227e82a39b3cbb3c7872e
parent2929ba9b460c13625cb47ed4e2de134f966bdf17
SUNRPC: Remove BUG_ON call sites

There is no need to take down the whole system for these assertions.

I'd rather not attempt a heroic save here, as some bug has occurred
that has left the transport data structures in an unknown state.
Just warn and then leak the left-over resources.

Acked-by: Christian Brauner <brauner@kernel.org>
Reviewed-by: NeilBrown <neilb@suse.de>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
net/sunrpc/svc.c