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
b3c27429
Commit
b3c27429
authored
Feb 11, 2004
by
Chas Williams
Committed by
David S. Miller
Feb 11, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ATM]: [clip] delay /proc/net/atm/arp creation
parent
80265bb3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
8 deletions
+10
-8
net/atm/clip.c
net/atm/clip.c
+10
-8
No files found.
net/atm/clip.c
View file @
b3c27429
...
...
@@ -994,14 +994,6 @@ static struct file_operations arp_seq_fops = {
static
int
__init
atm_clip_init
(
void
)
{
#ifdef CONFIG_PROC_FS
struct
proc_dir_entry
*
p
;
p
=
create_proc_entry
(
"arp"
,
S_IRUGO
,
atm_proc_root
);
if
(
p
)
p
->
proc_fops
=
&
arp_seq_fops
;
#endif
/* we should use neigh_table_init() */
clip_tbl
.
lock
=
RW_LOCK_UNLOCKED
;
clip_tbl
.
kmem_cachep
=
kmem_cache_create
(
clip_tbl
.
id
,
...
...
@@ -1019,6 +1011,16 @@ static int __init atm_clip_init(void)
clip_tbl_hook
=
&
clip_tbl
;
register_atm_ioctl
(
&
clip_ioctl_ops
);
#ifdef CONFIG_PROC_FS
{
struct
proc_dir_entry
*
p
;
p
=
create_proc_entry
(
"arp"
,
S_IRUGO
,
atm_proc_root
);
if
(
p
)
p
->
proc_fops
=
&
arp_seq_fops
;
}
#endif
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