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

Commit 54721c63 authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "packet: Fix false positive compilation error"

parents 151aaed0 82b9c5a4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3899,7 +3899,7 @@ static int packet_getsockopt(struct socket *sock, int level, int optname,
			len = sizeof(int);
		if (len < sizeof(int))
			return -EINVAL;
		if (copy_from_user(&val, optval, len))
		if (copy_from_user(&val, optval, sizeof(val)))
			return -EFAULT;
		switch (val) {
		case TPACKET_V1: