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

net: Add missing getsockopt for SO_NOFCS.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent e29b5d8f
......@@ -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;
}
......
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