From: Arnd Bergmann Date: Tue, 20 May 2008 17:16:24 +0000 (+0200) Subject: net-tun: BKL pushdown X-Git-Tag: v2.6.27-rc1~1103^2~41 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fd3e05b6c82ebee06f888482975172028e89382d;p=linux-2.6 net-tun: BKL pushdown Signed-off-by: Arnd Bergmann --- diff --git a/drivers/net/tun.c b/drivers/net/tun.c index 0ce07a339c..ce5af2aa88 100644 --- a/drivers/net/tun.c +++ b/drivers/net/tun.c @@ -48,6 +48,7 @@ #include #include #include +#include #include #include #include @@ -797,6 +798,7 @@ static int tun_chr_fasync(int fd, struct file *file, int on) static int tun_chr_open(struct inode *inode, struct file * file) { + cycle_kernel_lock(); DBG1(KERN_INFO "tunX: tun_chr_open\n"); file->private_data = NULL; return 0;