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
nexedi
linux
Commits
c8e0c32b
Commit
c8e0c32b
authored
Feb 11, 2004
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge
bk://kernel.bkbits.net/davem/netfix-2.6
into home.osdl.org:/home/torvalds/v2.5/linux
parents
573a8eb5
a7344fb9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
0 deletions
+6
-0
net/ipv4/ip_gre.c
net/ipv4/ip_gre.c
+2
-0
net/ipv4/ipip.c
net/ipv4/ipip.c
+2
-0
net/ipv6/sit.c
net/ipv6/sit.c
+2
-0
No files found.
net/ipv4/ip_gre.c
View file @
c8e0c32b
...
@@ -276,6 +276,7 @@ static struct ip_tunnel * ipgre_tunnel_locate(struct ip_tunnel_parm *parms, int
...
@@ -276,6 +276,7 @@ static struct ip_tunnel * ipgre_tunnel_locate(struct ip_tunnel_parm *parms, int
return
NULL
;
return
NULL
;
dev
->
init
=
ipgre_tunnel_init
;
dev
->
init
=
ipgre_tunnel_init
;
dev
->
tx_queue_len
=
1
;
nt
=
dev
->
priv
;
nt
=
dev
->
priv
;
nt
->
parms
=
*
parms
;
nt
->
parms
=
*
parms
;
...
@@ -1269,6 +1270,7 @@ int __init ipgre_init(void)
...
@@ -1269,6 +1270,7 @@ int __init ipgre_init(void)
}
}
ipgre_fb_tunnel_dev
->
init
=
ipgre_fb_tunnel_init
;
ipgre_fb_tunnel_dev
->
init
=
ipgre_fb_tunnel_init
;
ipgre_fb_tunnel_dev
->
tx_queue_len
=
1
;
if
((
err
=
register_netdev
(
ipgre_fb_tunnel_dev
)))
if
((
err
=
register_netdev
(
ipgre_fb_tunnel_dev
)))
goto
fail
;
goto
fail
;
...
...
net/ipv4/ipip.c
View file @
c8e0c32b
...
@@ -246,6 +246,7 @@ static struct ip_tunnel * ipip_tunnel_locate(struct ip_tunnel_parm *parms, int c
...
@@ -246,6 +246,7 @@ static struct ip_tunnel * ipip_tunnel_locate(struct ip_tunnel_parm *parms, int c
nt
=
dev
->
priv
;
nt
=
dev
->
priv
;
SET_MODULE_OWNER
(
dev
);
SET_MODULE_OWNER
(
dev
);
dev
->
init
=
ipip_tunnel_init
;
dev
->
init
=
ipip_tunnel_init
;
dev
->
tx_queue_len
=
1
;
dev
->
destructor
=
free_netdev
;
dev
->
destructor
=
free_netdev
;
nt
->
parms
=
*
parms
;
nt
->
parms
=
*
parms
;
...
@@ -892,6 +893,7 @@ int __init ipip_init(void)
...
@@ -892,6 +893,7 @@ int __init ipip_init(void)
}
}
ipip_fb_tunnel_dev
->
init
=
ipip_fb_tunnel_init
;
ipip_fb_tunnel_dev
->
init
=
ipip_fb_tunnel_init
;
ipip_fb_tunnel_dev
->
tx_queue_len
=
1
;
if
((
err
=
register_netdev
(
ipip_fb_tunnel_dev
)))
if
((
err
=
register_netdev
(
ipip_fb_tunnel_dev
)))
goto
fail
;
goto
fail
;
...
...
net/ipv6/sit.c
View file @
c8e0c32b
...
@@ -184,6 +184,7 @@ static struct ip_tunnel * ipip6_tunnel_locate(struct ip_tunnel_parm *parms, int
...
@@ -184,6 +184,7 @@ static struct ip_tunnel * ipip6_tunnel_locate(struct ip_tunnel_parm *parms, int
nt
=
dev
->
priv
;
nt
=
dev
->
priv
;
dev
->
init
=
ipip6_tunnel_init
;
dev
->
init
=
ipip6_tunnel_init
;
dev
->
tx_queue_len
=
1
;
nt
->
parms
=
*
parms
;
nt
->
parms
=
*
parms
;
if
(
register_netdevice
(
dev
)
<
0
)
{
if
(
register_netdevice
(
dev
)
<
0
)
{
...
@@ -832,6 +833,7 @@ int __init sit_init(void)
...
@@ -832,6 +833,7 @@ int __init sit_init(void)
}
}
ipip6_fb_tunnel_dev
->
init
=
ipip6_fb_tunnel_init
;
ipip6_fb_tunnel_dev
->
init
=
ipip6_fb_tunnel_init
;
ipip6_fb_tunnel_dev
->
tx_queue_len
=
1
;
if
((
err
=
register_netdev
(
ipip6_fb_tunnel_dev
)))
if
((
err
=
register_netdev
(
ipip6_fb_tunnel_dev
)))
goto
fail
;
goto
fail
;
...
...
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