diff options
Diffstat (limited to 'drivers/net/tun.c')
-rw-r--r-- | drivers/net/tun.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/tun.c b/drivers/net/tun.c index a82b32b40131..e6bbc639c2d0 100644 --- a/drivers/net/tun.c +++ b/drivers/net/tun.c | |||
@@ -900,7 +900,7 @@ static int tun_chr_ioctl(struct inode *inode, struct file *file, | |||
900 | if ((tun->flags & TUN_TYPE_MASK) != TUN_TAP_DEV) | 900 | if ((tun->flags & TUN_TYPE_MASK) != TUN_TAP_DEV) |
901 | return -EINVAL; | 901 | return -EINVAL; |
902 | rtnl_lock(); | 902 | rtnl_lock(); |
903 | ret = update_filter(&tun->txflt, (void *) __user arg); | 903 | ret = update_filter(&tun->txflt, (void __user *)arg); |
904 | rtnl_unlock(); | 904 | rtnl_unlock(); |
905 | return ret; | 905 | return ret; |
906 | 906 | ||