Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 55866
b: refs/heads/master
c: d9de262
h: refs/heads/master
v: v3
  • Loading branch information
Simon Horman authored and Linus Torvalds committed May 10, 2007
1 parent 28a4aaf commit e90e764
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 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: 643bd27298bdcc4e75b3e6a7ca459675eb5378c3
refs/heads/master: d9de2622bd4fd29cab4ef7db66a9f916cb38e032
5 changes: 4 additions & 1 deletion trunk/fs/compat_ioctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -3566,10 +3566,13 @@ asmlinkage long compat_sys_ioctl(unsigned int fd, unsigned int cmd,
goto found_handler;
}

#ifdef CONFIG_NET
if (S_ISSOCK(filp->f_path.dentry->d_inode->i_mode) &&
cmd >= SIOCDEVPRIVATE && cmd <= (SIOCDEVPRIVATE + 15)) {
error = siocdevprivate_ioctl(fd, cmd, arg);
} else {
} else
#endif
{
static int count;

if (++count <= 50)
Expand Down

0 comments on commit e90e764

Please sign in to comment.