Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
fd3e05b6
Commit
fd3e05b6
authored
May 20, 2008
by
Arnd Bergmann
Committed by
Jonathan Corbet
Jul 02, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
net-tun: BKL pushdown
Signed-off-by:
Arnd Bergmann
<
arnd@arndb.de
>
parent
db41bc9c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
drivers/net/tun.c
drivers/net/tun.c
+2
-0
No files found.
drivers/net/tun.c
View file @
fd3e05b6
...
@@ -48,6 +48,7 @@
...
@@ -48,6 +48,7 @@
#include <linux/kernel.h>
#include <linux/kernel.h>
#include <linux/major.h>
#include <linux/major.h>
#include <linux/slab.h>
#include <linux/slab.h>
#include <linux/smp_lock.h>
#include <linux/poll.h>
#include <linux/poll.h>
#include <linux/fcntl.h>
#include <linux/fcntl.h>
#include <linux/init.h>
#include <linux/init.h>
...
@@ -797,6 +798,7 @@ static int tun_chr_fasync(int fd, struct file *file, int on)
...
@@ -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
)
static
int
tun_chr_open
(
struct
inode
*
inode
,
struct
file
*
file
)
{
{
cycle_kernel_lock
();
DBG1
(
KERN_INFO
"tunX: tun_chr_open
\n
"
);
DBG1
(
KERN_INFO
"tunX: tun_chr_open
\n
"
);
file
->
private_data
=
NULL
;
file
->
private_data
=
NULL
;
return
0
;
return
0
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment