]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit413baaf6f09bc3811fcaced6bea8a41b7746363a
treef7f5ab6e9407c14c1542cc9855a8eb63f3f6775a
parent037872dbde2c585ef52b776a70e6b0511c1d3942
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