net/packet: constify packet_lookup_frame() and __tpacket_has_room()
authorEric Dumazet <edumazet@google.com>
Wed, 12 Jun 2019 16:52:27 +0000 (09:52 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 15 Jun 2019 01:52:14 +0000 (18:52 -0700)
commitd4b5bd98faec345933d6080989e035a833b1077a
treec20445c7074ab0fb921b596e79e40a53dfae7ac7
parent96f657e6cfc25b27d8189cb6b9eac66e1b1ff4f3
net/packet: constify packet_lookup_frame() and __tpacket_has_room()

Goal is to be able to use __tpacket_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