summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2022-06-17 21:04:15 -0700
committerDavid S. Miller <davem@davemloft.net>2022-06-18 10:54:29 +0100
commitdbca1596bbb08318f5e3b3b99f8ca0a0d3830a65 (patch)
treeb43ade4b580e3ccdd0e1b32757bdcf0731c6159c /net/unix/af_unix.c
parentf0623340fd2cab724e3c54ac026d1414325f375d (diff)
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 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions