aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/ipv4/sysctl_net_ipv4.c
diff options
context:
space:
mode:
authorKarsten Graul <kgraul@linux.ibm.com>2020-04-29 17:10:48 +0200
committerDavid S. Miller <davem@davemloft.net>2020-04-29 12:26:33 -0700
commitfaca536008375bece23783e7382b5d0356c13ba5 (patch)
tree69406ee8f26c28173e6956e1547aa98a86547a42 /net/ipv4/sysctl_net_ipv4.c
parentnet/smc: process llc responses in tasklet context (diff)
downloadwireguard-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