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
cd862faa
Commit
cd862faa
authored
May 21, 2003
by
Hideaki Yoshifuji
Committed by
David S. Miller
May 21, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[IPV4]: Use seq_release_private(), kill ip_seq_release() since no longer used.
parent
4ad50851
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
5 additions
and
14 deletions
+5
-14
include/net/ip.h
include/net/ip.h
+0
-1
net/ipv4/arp.c
net/ipv4/arp.c
+1
-1
net/ipv4/fib_hash.c
net/ipv4/fib_hash.c
+1
-1
net/ipv4/proc.c
net/ipv4/proc.c
+0
-8
net/ipv4/route.c
net/ipv4/route.c
+1
-1
net/ipv4/tcp_ipv4.c
net/ipv4/tcp_ipv4.c
+1
-1
net/ipv4/udp.c
net/ipv4/udp.c
+1
-1
No files found.
include/net/ip.h
View file @
cd862faa
...
@@ -295,7 +295,6 @@ extern void ip_icmp_error(struct sock *sk, struct sk_buff *skb, int err,
...
@@ -295,7 +295,6 @@ extern void ip_icmp_error(struct sock *sk, struct sk_buff *skb, int err,
extern
void
ip_local_error
(
struct
sock
*
sk
,
int
err
,
u32
daddr
,
u16
dport
,
extern
void
ip_local_error
(
struct
sock
*
sk
,
int
err
,
u32
daddr
,
u16
dport
,
u32
info
);
u32
info
);
extern
int
ip_seq_release
(
struct
inode
*
inode
,
struct
file
*
file
);
extern
int
ipv4_proc_init
(
void
);
extern
int
ipv4_proc_init
(
void
);
/* sysctl helpers - any sysctl which holds a value that ends up being
/* sysctl helpers - any sysctl which holds a value that ends up being
...
...
net/ipv4/arp.c
View file @
cd862faa
...
@@ -1389,7 +1389,7 @@ static struct file_operations arp_seq_fops = {
...
@@ -1389,7 +1389,7 @@ static struct file_operations arp_seq_fops = {
.
open
=
arp_seq_open
,
.
open
=
arp_seq_open
,
.
read
=
seq_read
,
.
read
=
seq_read
,
.
llseek
=
seq_lseek
,
.
llseek
=
seq_lseek
,
.
release
=
ip_seq_releas
e
,
.
release
=
seq_release_privat
e
,
};
};
static
int
__init
arp_proc_init
(
void
)
static
int
__init
arp_proc_init
(
void
)
...
...
net/ipv4/fib_hash.c
View file @
cd862faa
...
@@ -1069,7 +1069,7 @@ static struct file_operations fib_seq_fops = {
...
@@ -1069,7 +1069,7 @@ static struct file_operations fib_seq_fops = {
.
open
=
fib_seq_open
,
.
open
=
fib_seq_open
,
.
read
=
seq_read
,
.
read
=
seq_read
,
.
llseek
=
seq_lseek
,
.
llseek
=
seq_lseek
,
.
release
=
ip_seq_releas
e
,
.
release
=
seq_release_privat
e
,
};
};
int
__init
fib_proc_init
(
void
)
int
__init
fib_proc_init
(
void
)
...
...
net/ipv4/proc.c
View file @
cd862faa
...
@@ -265,11 +265,3 @@ int __init ip_misc_proc_init(void)
...
@@ -265,11 +265,3 @@ int __init ip_misc_proc_init(void)
goto
out
;
goto
out
;
}
}
int
ip_seq_release
(
struct
inode
*
inode
,
struct
file
*
file
)
{
struct
seq_file
*
seq
=
(
struct
seq_file
*
)
file
->
private_data
;
kfree
(
seq
->
private
);
seq
->
private
=
NULL
;
return
seq_release
(
inode
,
file
);
}
net/ipv4/route.c
View file @
cd862faa
...
@@ -386,7 +386,7 @@ static struct file_operations rt_cache_seq_fops = {
...
@@ -386,7 +386,7 @@ static struct file_operations rt_cache_seq_fops = {
.
open
=
rt_cache_seq_open
,
.
open
=
rt_cache_seq_open
,
.
read
=
seq_read
,
.
read
=
seq_read
,
.
llseek
=
seq_lseek
,
.
llseek
=
seq_lseek
,
.
release
=
ip_seq_releas
e
,
.
release
=
seq_release_privat
e
,
};
};
int
__init
rt_cache_proc_init
(
void
)
int
__init
rt_cache_proc_init
(
void
)
...
...
net/ipv4/tcp_ipv4.c
View file @
cd862faa
...
@@ -2568,7 +2568,7 @@ static struct file_operations tcp_seq_fops = {
...
@@ -2568,7 +2568,7 @@ static struct file_operations tcp_seq_fops = {
.
open
=
tcp_seq_open
,
.
open
=
tcp_seq_open
,
.
read
=
seq_read
,
.
read
=
seq_read
,
.
llseek
=
seq_lseek
,
.
llseek
=
seq_lseek
,
.
release
=
ip_seq_releas
e
,
.
release
=
seq_release_privat
e
,
};
};
int
__init
tcp_proc_init
(
void
)
int
__init
tcp_proc_init
(
void
)
...
...
net/ipv4/udp.c
View file @
cd862faa
...
@@ -1479,7 +1479,7 @@ static struct file_operations udp_seq_fops = {
...
@@ -1479,7 +1479,7 @@ static struct file_operations udp_seq_fops = {
.
open
=
udp_seq_open
,
.
open
=
udp_seq_open
,
.
read
=
seq_read
,
.
read
=
seq_read
,
.
llseek
=
seq_lseek
,
.
llseek
=
seq_lseek
,
.
release
=
ip_seq_releas
e
,
.
release
=
seq_release_privat
e
,
};
};
/* ------------------------------------------------------------------------ */
/* ------------------------------------------------------------------------ */
...
...
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