mirror of
https://github.com/torvalds/linux.git
synced 2025-11-07 20:19:47 +02:00
A recent patch added READ_ONCE() in packet_bind() and packet_bind_spkt()
This is better handled by reading pkt_sk(sk)->num later
in packet_do_bind() while appropriate lock is held.
READ_ONCE() in writers are often an evidence of something being wrong.
Fixes:
|
||
|---|---|---|
| .. | ||
| af_packet.c | ||
| diag.c | ||
| internal.h | ||
| Kconfig | ||
| Makefile | ||