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

Commit bc2f7996 authored by David S. Miller's avatar David S. Miller
Browse files

net: Add missing getsockopt for SO_NOFCS.

parent e29b5d8f
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1035,6 +1035,9 @@ int sock_getsockopt(struct socket *sock, int level, int optname,

		v.val = sk->sk_peek_off;
		break;
	case SO_NOFCS:
		v.val = !!sock_flag(sk, SOCK_NOFCS);
		break;
	default:
		return -ENOPROTOOPT;
	}