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
4f0a68ae
Commit
4f0a68ae
authored
Oct 04, 2004
by
Patrick McHardy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[IPV4]: Fix ipip_fb_tunnel_dev leak in ipip_fini
Signed-off-by:
Patrick McHardy
<
kaber@trash.net
>
parent
277eefc4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
net/ipv4/ipip.c
net/ipv4/ipip.c
+1
-1
No files found.
net/ipv4/ipip.c
View file @
4f0a68ae
...
@@ -246,7 +246,6 @@ static struct ip_tunnel * ipip_tunnel_locate(struct ip_tunnel_parm *parms, int c
...
@@ -246,7 +246,6 @@ 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
->
destructor
=
free_netdev
;
nt
->
parms
=
*
parms
;
nt
->
parms
=
*
parms
;
if
(
register_netdevice
(
dev
)
<
0
)
{
if
(
register_netdevice
(
dev
)
<
0
)
{
...
@@ -784,6 +783,7 @@ static void ipip_tunnel_setup(struct net_device *dev)
...
@@ -784,6 +783,7 @@ static void ipip_tunnel_setup(struct net_device *dev)
dev
->
get_stats
=
ipip_tunnel_get_stats
;
dev
->
get_stats
=
ipip_tunnel_get_stats
;
dev
->
do_ioctl
=
ipip_tunnel_ioctl
;
dev
->
do_ioctl
=
ipip_tunnel_ioctl
;
dev
->
change_mtu
=
ipip_tunnel_change_mtu
;
dev
->
change_mtu
=
ipip_tunnel_change_mtu
;
dev
->
destructor
=
free_netdev
;
dev
->
type
=
ARPHRD_TUNNEL
;
dev
->
type
=
ARPHRD_TUNNEL
;
dev
->
hard_header_len
=
LL_MAX_HEADER
+
sizeof
(
struct
iphdr
);
dev
->
hard_header_len
=
LL_MAX_HEADER
+
sizeof
(
struct
iphdr
);
...
...
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