[Linux-stable-mirror] [PATCH 4.9 11/39] packet: avoid panic in packet_getsockopt()