diff options
| author | 2022-06-17 21:04:15 -0700 | |
|---|---|---|
| committer | 2022-06-18 10:54:29 +0100 | |
| commit | dbca1596bbb08318f5e3b3b99f8ca0a0d3830a65 (patch) | |
| tree | b43ade4b580e3ccdd0e1b32757bdcf0731c6159c /drivers/net/netconsole.c | |
| parent | ax25: use GFP_KERNEL in ax25_dev_device_up() (diff) | |
| download | linux-dev-dbca1596bbb08318f5e3b3b99f8ca0a0d3830a65.tar.xz linux-dev-dbca1596bbb08318f5e3b3b99f8ca0a0d3830a65.zip | |
ping: convert to RCU lookups, get rid of rwlock
Using rwlock in networking code is extremely risky.
writers can starve if enough readers are constantly
grabing the rwlock.
I thought rwlock were at fault and sent this patch:
https://lkml.org/lkml/2022/6/17/272
But Peter and Linus essentially told me rwlock had to be unfair.
We need to get rid of rwlock in networking code.
Fixes: c319b4d76b9e ("net: ipv4: add IPPROTO_ICMP socket kind")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/netconsole.c')
0 files changed, 0 insertions, 0 deletions
