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
b423fed1
Commit
b423fed1
authored
Nov 13, 2002
by
James Morris
Committed by
David S. Miller
Nov 13, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[AF_KEY]: Fix alloc_skb args.
parent
ec111ae6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
net/key/af_key.c
net/key/af_key.c
+1
-1
No files found.
net/key/af_key.c
View file @
b423fed1
...
@@ -1225,7 +1225,7 @@ static struct sk_buff *compose_sadb_supported(struct sadb_msg *orig, int allocat
...
@@ -1225,7 +1225,7 @@ static struct sk_buff *compose_sadb_supported(struct sadb_msg *orig, int allocat
esp_len
+=
sizeof
(
struct
sadb_supported
);
esp_len
+=
sizeof
(
struct
sadb_supported
);
len
=
esp_len
+
ah_len
+
sizeof
(
struct
sadb_msg
);
len
=
esp_len
+
ah_len
+
sizeof
(
struct
sadb_msg
);
skb
=
alloc_skb
(
allocation
,
len
+
16
);
skb
=
alloc_skb
(
len
+
16
,
allocation
);
if
(
!
skb
)
if
(
!
skb
)
goto
out_put_algs
;
goto
out_put_algs
;
...
...
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