Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 8275
b: refs/heads/master
c: d99901d
h: refs/heads/master
i:
  8273: 414b6bd
  8271: dedcde2
v: v3
  • Loading branch information
Kirill Korotaev authored and Linus Torvalds committed Sep 9, 2005
1 parent 44ae00a commit d6d1e3a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 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: 35311d6478077f7bfe35c1c653193e658bf32686
refs/heads/master: d99901d6fdfb4098b9996de89ffbbae890e08288
7 changes: 5 additions & 2 deletions trunk/fs/compat_ioctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -798,13 +798,16 @@ static int routing_ioctl(unsigned int fd, unsigned int cmd, unsigned long arg)
r = (void *) &r4;
}

if (ret)
return -EFAULT;
if (ret) {
ret = -EFAULT;
goto out;
}

set_fs (KERNEL_DS);
ret = sys_ioctl (fd, cmd, (unsigned long) r);
set_fs (old_fs);

out:
if (mysock)
sockfd_put(mysock);

Expand Down

0 comments on commit d6d1e3a

Please sign in to comment.