net/packet: constify __packet_rcv_has_room()
authorEric Dumazet <edumazet@google.com>
Wed, 12 Jun 2019 16:52:29 +0000 (09:52 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 15 Jun 2019 01:52:14 +0000 (18:52 -0700)
commit0338a14523e3864524dafb6a66c7b82e94201317
tree7fd96784350d56925a0151eb680baa94b8107d08
parentdcf70cefaf99a40cfa25face160f29c1cf3bf84d
net/packet: constify __packet_rcv_has_room()

Goal is use the helper without lock being held.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/packet/af_packet.c