diff options
author | 2020-04-29 17:10:48 +0200 | |
---|---|---|
committer | 2020-04-29 12:26:33 -0700 | |
commit | faca536008375bece23783e7382b5d0356c13ba5 (patch) | |
tree | 69406ee8f26c28173e6956e1547aa98a86547a42 /net/ipv4/sysctl_net_ipv4.c | |
parent | net/smc: process llc responses in tasklet context (diff) | |
download | wireguard-linux-faca536008375bece23783e7382b5d0356c13ba5.tar.xz wireguard-linux-faca536008375bece23783e7382b5d0356c13ba5.zip |
net/smc: use mutex instead of rwlock_t to protect buffers
The locks for sndbufs and rmbs are never used from atomic context. Using
a mutex for these locks will allow to nest locks with other mutexes.
Signed-off-by: Karsten Graul <kgraul@linux.ibm.com>
Reviewed-by: Ursula Braun <ubraun@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/sysctl_net_ipv4.c')
0 files changed, 0 insertions, 0 deletions