[Linux-stable-mirror] [PATCH 4.13 13/44] packet: avoid panic in packet_getsockopt()