[PATCH openEuler-1.0-LTS 16/62] af_packet: fix data-race in packet_setsockopt / packet_setsockopt