Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 224447
b: refs/heads/master
c: 1ecd66b
h: refs/heads/master
i:
  224445: a2ed29e
  224443: d3cf53a
  224439: 030dec5
  224431: 9bd8045
  224415: ff53a2a
  224383: 179c830
v: v3
  • Loading branch information
andrew hendry authored and David S. Miller committed Nov 19, 2010
1 parent b2d9625 commit b026b34
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 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: 70be998c2b44f942f11383496622500136816acb
refs/heads/master: 1ecd66bf2ce5e0f2bc72ffdeed814bb0e55a60dc
8 changes: 0 additions & 8 deletions trunk/net/x25/af_x25.c
Original file line number Diff line number Diff line change
Expand Up @@ -1387,19 +1387,15 @@ static int x25_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg)

case SIOCGSTAMP:
rc = -EINVAL;
lock_kernel();
if (sk)
rc = sock_get_timestamp(sk,
(struct timeval __user *)argp);
unlock_kernel();
break;
case SIOCGSTAMPNS:
rc = -EINVAL;
lock_kernel();
if (sk)
rc = sock_get_timestampns(sk,
(struct timespec __user *)argp);
unlock_kernel();
break;
case SIOCGIFADDR:
case SIOCSIFADDR:
Expand Down Expand Up @@ -1689,19 +1685,15 @@ static int compat_x25_ioctl(struct socket *sock, unsigned int cmd,
break;
case SIOCGSTAMP:
rc = -EINVAL;
lock_kernel();
if (sk)
rc = compat_sock_get_timestamp(sk,
(struct timeval __user*)argp);
unlock_kernel();
break;
case SIOCGSTAMPNS:
rc = -EINVAL;
lock_kernel();
if (sk)
rc = compat_sock_get_timestampns(sk,
(struct timespec __user*)argp);
unlock_kernel();
break;
case SIOCGIFADDR:
case SIOCSIFADDR:
Expand Down

0 comments on commit b026b34

Please sign in to comment.