Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 290457
b: refs/heads/master
c: bc2f799
h: refs/heads/master
i:
  290455: 79b1064
v: v3
  • Loading branch information
David S. Miller committed Feb 24, 2012
1 parent 8f2df9a commit 1222264
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e29b5d8f0896bfe908c0036f2614a89e71bdf42c
refs/heads/master: bc2f7996858db66f2d5b154aac10971655f72cad
3 changes: 3 additions & 0 deletions trunk/net/core/sock.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 1222264

Please sign in to comment.