]> 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)
commitb8bbbdb0c7b6695be15c1cfd72633cc55aba2d9a
treef7f5ab6e9407c14c1542cc9855a8eb63f3f6775a
parenta673ed5db9f6be5ad36080e078a9a65c2b397af9
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