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
6db59d74
Commit
6db59d74
authored
Jun 11, 2003
by
Krishna Kumar
Committed by
Stephen Hemminger
Jun 11, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[NET]: Initialize sysctl_table to NULL in neigh_parms_alloc.
parent
e72aee74
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
net/core/neighbour.c
net/core/neighbour.c
+1
-0
No files found.
net/core/neighbour.c
View file @
6db59d74
...
@@ -1094,6 +1094,7 @@ struct neigh_parms *neigh_parms_alloc(struct net_device *dev,
...
@@ -1094,6 +1094,7 @@ struct neigh_parms *neigh_parms_alloc(struct net_device *dev,
kfree
(
p
);
kfree
(
p
);
return
NULL
;
return
NULL
;
}
}
p
->
sysctl_table
=
NULL
;
write_lock_bh
(
&
tbl
->
lock
);
write_lock_bh
(
&
tbl
->
lock
);
p
->
next
=
tbl
->
parms
.
next
;
p
->
next
=
tbl
->
parms
.
next
;
tbl
->
parms
.
next
=
p
;
tbl
->
parms
.
next
=
p
;
...
...
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