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
7ce53b76
Commit
7ce53b76
authored
May 22, 2003
by
Herbert Xu
Committed by
David S. Miller
May 22, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[AF_KEY]: Zero out sadb_prop_reserved.
parent
fc1c4dc2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
net/key/af_key.c
net/key/af_key.c
+2
-0
No files found.
net/key/af_key.c
View file @
7ce53b76
...
...
@@ -2244,6 +2244,7 @@ static void dump_ah_combs(struct sk_buff *skb, struct xfrm_tmpl *t)
p
->
sadb_prop_len
=
sizeof
(
struct
sadb_prop
)
/
8
;
p
->
sadb_prop_exttype
=
SADB_EXT_PROPOSAL
;
p
->
sadb_prop_replay
=
32
;
memset
(
p
->
sadb_prop_reserved
,
0
,
sizeof
(
p
->
sadb_prop_reserved
));
for
(
i
=
0
;
;
i
++
)
{
struct
xfrm_algo_desc
*
aalg
=
xfrm_aalg_get_byidx
(
i
);
...
...
@@ -2275,6 +2276,7 @@ static void dump_esp_combs(struct sk_buff *skb, struct xfrm_tmpl *t)
p
->
sadb_prop_len
=
sizeof
(
struct
sadb_prop
)
/
8
;
p
->
sadb_prop_exttype
=
SADB_EXT_PROPOSAL
;
p
->
sadb_prop_replay
=
32
;
memset
(
p
->
sadb_prop_reserved
,
0
,
sizeof
(
p
->
sadb_prop_reserved
));
for
(
i
=
0
;
;
i
++
)
{
struct
xfrm_algo_desc
*
ealg
=
xfrm_ealg_get_byidx
(
i
);
...
...
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