commit | faca536008375bece23783e7382b5d0356c13ba5 | [log] [tgz] |
---|---|---|
author | Karsten Graul <kgraul@linux.ibm.com> | Wed Apr 29 17:10:48 2020 +0200 |
committer | David S. Miller <davem@davemloft.net> | Wed Apr 29 12:26:33 2020 -0700 |
tree | 69406ee8f26c28173e6956e1547aa98a86547a42 | |
parent | ef79d439cd124d9fb7258bb35d44c71aec11b829 [diff] |
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>