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
31c9edfe
Commit
31c9edfe
authored
Apr 01, 2003
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[IPSEC]: In TCP/v6 input, check policy before socket filter.
parent
6bb23a88
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
net/ipv6/tcp_ipv6.c
net/ipv6/tcp_ipv6.c
+2
-2
No files found.
net/ipv6/tcp_ipv6.c
View file @
31c9edfe
...
@@ -1639,10 +1639,10 @@ static int tcp_v6_rcv(struct sk_buff **pskb)
...
@@ -1639,10 +1639,10 @@ static int tcp_v6_rcv(struct sk_buff **pskb)
if
(
sk
->
state
==
TCP_TIME_WAIT
)
if
(
sk
->
state
==
TCP_TIME_WAIT
)
goto
do_time_wait
;
goto
do_time_wait
;
if
(
sk_filter
(
sk
,
skb
,
0
))
if
(
!
xfrm6_policy_check
(
sk
,
XFRM_POLICY_IN
,
skb
))
goto
discard_and_relse
;
goto
discard_and_relse
;
if
(
!
xfrm6_policy_check
(
sk
,
XFRM_POLICY_IN
,
skb
))
if
(
sk_filter
(
sk
,
skb
,
0
))
goto
discard_and_relse
;
goto
discard_and_relse
;
skb
->
dev
=
NULL
;
skb
->
dev
=
NULL
;
...
...
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