[PATCH 6.12 328/369] net/packet: fix a race in packet_set_ring() and packet_notifier()