Commit 96f657e6 authored by Eric Dumazet's avatar Eric Dumazet Committed by David S. Miller

net/packet: constify __packet_get_status() argument

struct packet_sock  is only read.
Signed-off-by: default avatarEric Dumazet <edumazet@google.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent f30e33bc
......@@ -384,7 +384,7 @@ static void __packet_set_status(struct packet_sock *po, void *frame, int status)
smp_wmb();
}
static int __packet_get_status(struct packet_sock *po, void *frame)
static int __packet_get_status(const struct packet_sock *po, void *frame)
{
union tpacket_uhdr h;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment