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
fc850609
Commit
fc850609
authored
Feb 04, 2004
by
Chas Williams
Committed by
David S. Miller
Feb 04, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ATM]: [clip] check return code from kmem_cache_create (by "Randy.Dunlap" <rddunlap@osdl.org>)
parent
bfa0dfd9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
net/atm/clip.c
net/atm/clip.c
+3
-0
No files found.
net/atm/clip.c
View file @
fc850609
...
...
@@ -1021,6 +1021,9 @@ static int __init atm_clip_init(void)
clip_tbl
.
kmem_cachep
=
kmem_cache_create
(
clip_tbl
.
id
,
clip_tbl
.
entry_size
,
0
,
SLAB_HWCACHE_ALIGN
,
NULL
,
NULL
);
if
(
!
clip_tbl
.
kmem_cachep
)
return
-
ENOMEM
;
/* so neigh_ifdown() doesn't complain */
clip_tbl
.
proxy_timer
.
data
=
0
;
clip_tbl
.
proxy_timer
.
function
=
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