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
6890c8f3
Commit
6890c8f3
authored
May 31, 2003
by
Herbert Xu
Committed by
David S. Miller
May 31, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[XFRM_USER]: Rename confusing member of struct xfrm_usersa_id.
parent
d601abb7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
include/linux/xfrm.h
include/linux/xfrm.h
+1
-1
net/xfrm/xfrm_user.c
net/xfrm/xfrm_user.c
+2
-2
No files found.
include/linux/xfrm.h
View file @
6890c8f3
...
...
@@ -164,7 +164,7 @@ struct xfrm_usersa_info {
};
struct
xfrm_usersa_id
{
xfrm_address_t
s
addr
;
xfrm_address_t
d
addr
;
__u32
spi
;
__u16
family
;
__u8
proto
;
...
...
net/xfrm/xfrm_user.c
View file @
6890c8f3
...
...
@@ -277,7 +277,7 @@ static int xfrm_del_sa(struct sk_buff *skb, struct nlmsghdr *nlh, void **xfrma)
struct
xfrm_state
*
x
;
struct
xfrm_usersa_id
*
p
=
NLMSG_DATA
(
nlh
);
x
=
xfrm_state_lookup
(
&
p
->
s
addr
,
p
->
spi
,
p
->
proto
,
p
->
family
);
x
=
xfrm_state_lookup
(
&
p
->
d
addr
,
p
->
spi
,
p
->
proto
,
p
->
family
);
if
(
x
==
NULL
)
return
-
ESRCH
;
...
...
@@ -403,7 +403,7 @@ static int xfrm_get_sa(struct sk_buff *skb, struct nlmsghdr *nlh, void **xfrma)
struct
sk_buff
*
resp_skb
;
int
err
;
x
=
xfrm_state_lookup
(
&
p
->
s
addr
,
p
->
spi
,
p
->
proto
,
p
->
family
);
x
=
xfrm_state_lookup
(
&
p
->
d
addr
,
p
->
spi
,
p
->
proto
,
p
->
family
);
err
=
-
ESRCH
;
if
(
x
==
NULL
)
goto
out_noput
;
...
...
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