Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 171184
b: refs/heads/master
c: 000ba2e
h: refs/heads/master
v: v3
  • Loading branch information
David S. Miller committed Nov 6, 2009
1 parent 34ea432 commit a04a849
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: baac8564547ac7f944af1c2e8cc6fdd57f2836a4
refs/heads/master: 000ba2e43f33901859fd794bb33c885909d53b3b
5 changes: 2 additions & 3 deletions trunk/net/core/sock.c
Original file line number Diff line number Diff line change
Expand Up @@ -417,9 +417,8 @@ static int sock_bindtodevice(struct sock *sk, char __user *optval, int optlen)
if (copy_from_user(devname, optval, optlen))
goto out;

if (devname[0] == '\0') {
index = 0;
} else {
index = 0;
if (devname[0] != '\0') {
struct net_device *dev;

rcu_read_lock();
Expand Down

0 comments on commit a04a849

Please sign in to comment.