diff options
Diffstat (limited to 'net/ipx')
-rw-r--r-- | net/ipx/af_ipx.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/net/ipx/af_ipx.c b/net/ipx/af_ipx.c index 824d4a3338ae..dfd6faaf0ea7 100644 --- a/net/ipx/af_ipx.c +++ b/net/ipx/af_ipx.c | |||
@@ -1901,9 +1901,7 @@ static int ipx_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) | |||
1901 | (const unsigned short __user *)argp); | 1901 | (const unsigned short __user *)argp); |
1902 | break; | 1902 | break; |
1903 | case SIOCGSTAMP: | 1903 | case SIOCGSTAMP: |
1904 | rc = -EINVAL; | 1904 | rc = sock_get_timestamp(sk, argp); |
1905 | if (sk) | ||
1906 | rc = sock_get_timestamp(sk, argp); | ||
1907 | break; | 1905 | break; |
1908 | case SIOCGIFDSTADDR: | 1906 | case SIOCGIFDSTADDR: |
1909 | case SIOCSIFDSTADDR: | 1907 | case SIOCSIFDSTADDR: |