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
1f68baf8
Commit
1f68baf8
authored
Aug 19, 2004
by
Hideaki Yoshifuji
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[IPV4] XFRM: don't probe icmp type/code for hdrincl sockets.
Signed-off-by:
Hideaki YOSHIFUJI
<
yoshfuji@linux-ipv6.org
>
parent
e80234f8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
net/ipv4/raw.c
net/ipv4/raw.c
+2
-1
No files found.
net/ipv4/raw.c
View file @
1f68baf8
...
@@ -474,7 +474,8 @@ static int raw_sendmsg(struct kiocb *iocb, struct sock *sk, struct msghdr *msg,
...
@@ -474,7 +474,8 @@ static int raw_sendmsg(struct kiocb *iocb, struct sock *sk, struct msghdr *msg,
.
proto
=
inet
->
hdrincl
?
IPPROTO_RAW
:
.
proto
=
inet
->
hdrincl
?
IPPROTO_RAW
:
sk
->
sk_protocol
,
sk
->
sk_protocol
,
};
};
raw_probe_proto_opt
(
&
fl
,
msg
);
if
(
!
inet
->
hdrincl
)
raw_probe_proto_opt
(
&
fl
,
msg
);
err
=
ip_route_output_flow
(
&
rt
,
&
fl
,
sk
,
!
(
msg
->
msg_flags
&
MSG_DONTWAIT
));
err
=
ip_route_output_flow
(
&
rt
,
&
fl
,
sk
,
!
(
msg
->
msg_flags
&
MSG_DONTWAIT
));
}
}
...
...
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