Centos-kernel-stream-9/net/sunrpc
Scott Mayhew 5144654d80 SUNRPC: use different lock keys for INET6 and LOCAL
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2049200

commit 064a91771f7aae4ea2d13033b64e921951d216ce
Author: NeilBrown <neilb@suse.de>
Date:   Tue Nov 23 09:40:35 2021 +1100

    SUNRPC: use different lock keys for INET6 and LOCAL

    xprtsock.c reclassifies sock locks based on the protocol.
    However there are 3 protocols and only 2 classification keys.
    The same key is used for both INET6 and LOCAL.

    This causes lockdep complaints.  The complaints started since Commit
    ea9afca88bbe ("SUNRPC: Replace use of socket sk_callback_lock with
    sock_lock") which resulted in the sock locks beings used more.

    So add another key, and renumber them slightly.

    Fixes: ea9afca88bbe ("SUNRPC: Replace use of socket sk_callback_lock with sock_lock")
    Fixes: 176e21ee2e ("SUNRPC: Support for RPC over AF_LOCAL transports")
    Signed-off-by: NeilBrown <neilb@suse.de>
    Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>

Signed-off-by: Scott Mayhew <smayhew@redhat.com>
2022-02-03 11:44:06 -05:00
..
auth_gss SUNRPC: fix sign error causing rpcsec_gss drops 2022-02-03 11:39:50 -05:00
xprtrdma xprtrdma: Fix a maybe-uninitialized compiler warning 2022-02-03 11:44:02 -05:00
Kconfig
Makefile sunrpc: Create a sunrpc directory under /sys/kernel/ 2021-07-08 14:03:23 -04:00
addr.c nfsd: don't alloc under spinlock in rpc_parse_scope_id 2022-02-03 11:39:50 -05:00
auth.c
auth_null.c
auth_unix.c
backchannel_rqst.c
cache.c SUNRPC: improve error response to over-size gss credential 2022-02-03 11:39:50 -05:00
clnt.c sunrpc: remove unnecessary test in rpc_task_set_client() 2022-02-03 11:44:02 -05:00
debugfs.c SUNRPC: Server-side disconnect injection 2022-02-03 11:39:48 -05:00
fail.h SUNRPC: Server-side disconnect injection 2022-02-03 11:39:48 -05:00
netns.h
rpc_pipe.c SUNRPC: Convert rpc_client refcount to use refcount_t 2022-02-01 18:04:50 -05:00
rpcb_clnt.c
sched.c SUNRPC: Trace calls to .rpc_call_done 2022-02-03 11:44:01 -05:00
socklib.c
socklib.h
stats.c
sunrpc.h
sunrpc_syms.c sunrpc: add IDs to multipath 2021-07-08 14:03:23 -04:00
svc.c SUNRPC: De-duplicate .pc_release() call sites 2022-02-03 11:39:53 -05:00
svc_xprt.c SUNRPC: Add trace event when alloc_pages_bulk() makes no progress 2022-02-03 11:39:53 -05:00
svcauth.c SUNRPC: Add svc_rqst::rq_auth_stat 2022-02-01 18:04:53 -05:00
svcauth_unix.c SUNRPC: Set rq_auth_stat in the pg_authenticate() callout 2022-02-01 18:04:53 -05:00
svcsock.c
sysctl.c
sysfs.c SUNRPC: Check if the xprt is connected before handling sysfs reads 2022-02-03 11:44:03 -05:00
sysfs.h SUNRPC: take a xprt offline using sysfs 2021-07-08 14:03:24 -04:00
timer.c
xdr.c SUNRPC: xdr_stream_subsegment() must handle non-zero page_bases 2022-02-03 11:39:51 -05:00
xprt.c SUNRPC: Prevent immediate close+reconnect 2022-02-03 11:44:03 -05:00
xprtmultipath.c SUNRPC keep track of number of transports to unique addresses 2022-02-03 11:39:49 -05:00
xprtsock.c SUNRPC: use different lock keys for INET6 and LOCAL 2022-02-03 11:44:06 -05:00