packet: fix race condition in packet_set_ring
Upstream commit 84ac7260236a49c79eede91617700174c2c19b0c
This is a security vulnerability (CVE).
This has been backported to the linux-3.12.y but apparently hasn't been backported to the linux-3.16.y tree. Could this be done? Also, could it be backported to linux-3.10.y as well?