Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 543fc3fb authored by Paolo Abeni's avatar Paolo Abeni Committed by David S. Miller
Browse files

udpv6: add the required annotation to mib type



In commit 029a3743 ("udp6: cleanup stats accounting in recvmsg()")
I forgot to add the percpu annotation for the mib pointer. Add it, and
make sparse happy.

Fixes: 029a3743 ("udp6: cleanup stats accounting in recvmsg()")
Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 6ff7b060
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -288,8 +288,8 @@ int udpv6_recvmsg(struct sock *sk, struct msghdr *msg, size_t len,
	int peeked, peeking, off;
	int err;
	int is_udplite = IS_UDPLITE(sk);
	struct udp_mib __percpu *mib;
	bool checksum_valid = false;
	struct udp_mib *mib;
	int is_udp4;

	if (flags & MSG_ERRQUEUE)