Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 340410
b: refs/heads/master
c: f7b86bf
h: refs/heads/master
v: v3
  • Loading branch information
Pavel Emelyanov authored and David S. Miller committed Oct 22, 2012
1 parent 9208569 commit dfd5ba3
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: 0da5f7c6d2a2653e3c8867df5f226e62377a141f
refs/heads/master: f7b86bfe8d9f10e5a9fcacf52dddf29d0d58a33b
3 changes: 3 additions & 0 deletions trunk/net/core/sock.c
Original file line number Diff line number Diff line change
Expand Up @@ -1074,6 +1074,9 @@ int sock_getsockopt(struct socket *sock, int level, int optname,
case SO_NOFCS:
v.val = sock_flag(sk, SOCK_NOFCS);
break;
case SO_BINDTODEVICE:
v.val = sk->sk_bound_dev_if;
break;
default:
return -ENOPROTOOPT;
}
Expand Down

0 comments on commit dfd5ba3

Please sign in to comment.