net/packet: constify prb_lookup_block() and __tpacket_v3_has_room()
authorEric Dumazet <edumazet@google.com>
Wed, 12 Jun 2019 16:52:28 +0000 (09:52 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 15 Jun 2019 01:52:14 +0000 (18:52 -0700)
commitdcf70cefaf99a40cfa25face160f29c1cf3bf84d
treef7f5ab6e9407c14c1542cc9855a8eb63f3f6775a
parentd4b5bd98faec345933d6080989e035a833b1077a
net/packet: constify prb_lookup_block() and __tpacket_v3_has_room()

Goal is to be able to use __tpacket_v3_has_room() without holding
a lock.

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