]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit037872dbde2c585ef52b776a70e6b0511c1d3942
treec20445c7074ab0fb921b596e79e40a53dfae7ac7
parent081583a004b8c879e2702fb67c36737600027f4f
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