diff options
Diffstat (limited to 'net/packet/af_packet.c')
-rw-r--r-- | net/packet/af_packet.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/packet/af_packet.c b/net/packet/af_packet.c index f9866a8456a1..6f8c72d2413b 100644 --- a/net/packet/af_packet.c +++ b/net/packet/af_packet.c | |||
@@ -1545,6 +1545,8 @@ static int packet_ioctl(struct socket *sock, unsigned int cmd, | |||
1545 | } | 1545 | } |
1546 | case SIOCGSTAMP: | 1546 | case SIOCGSTAMP: |
1547 | return sock_get_timestamp(sk, (struct timeval __user *)arg); | 1547 | return sock_get_timestamp(sk, (struct timeval __user *)arg); |
1548 | case SIOCGSTAMPNS: | ||
1549 | return sock_get_timestampns(sk, (struct timespec __user *)arg); | ||
1548 | 1550 | ||
1549 | #ifdef CONFIG_INET | 1551 | #ifdef CONFIG_INET |
1550 | case SIOCADDRT: | 1552 | case SIOCADDRT: |