Merge branch 'ipmr-remove-rwlocks'
authorDavid S. Miller <davem@davemloft.net>
Fri, 24 Jun 2022 10:34:38 +0000 (11:34 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 24 Jun 2022 10:34:38 +0000 (11:34 +0100)
commit23f94f1bc144469efc45370a8be6a73965cf4b68
tree5c00956ca95472c1a3196f5b74f4396e5b44abb2
parent7fcb820c7609f207cd2e5b49bff96a5b55167cf3
parenta96f7a6a60b310fdb7913d5ae70961eeeca9527d
Merge branch 'ipmr-remove-rwlocks'

Eric Dumazet says:

====================
ipmr: get rid of rwlocks

We need to get rid of rwlocks in networking stacks,
if read_lock() is (ab)used from softirq context.

As discussed recently [1], rwlock are unfair by design in this case,
and writers can starve and trigger soft lockups.

This series convert ipmr code (both IPv4 and IPv6 families)
to RCU and spinlocks.

[1] https://lkml.org/lkml/2022/6/17/272

v2: fixed two typos, and resent because patch 19/19
    did not make it to patchwork.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>