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
285def0f
Commit
285def0f
authored
Jan 20, 2003
by
David S. Miller
Committed by
Sridhar Samudrala
Jan 20, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[IPSEC]: Clear SKB checksum state when mangling.
parent
6a27f5ea
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
net/ipv4/ah.c
net/ipv4/ah.c
+2
-0
net/ipv4/esp.c
net/ipv4/esp.c
+2
-0
No files found.
net/ipv4/ah.c
View file @
285def0f
...
...
@@ -280,6 +280,8 @@ int ah_input(struct xfrm_state *x, struct sk_buff *skb)
pskb_expand_head
(
skb
,
0
,
0
,
GFP_ATOMIC
))
goto
out
;
skb
->
ip_summed
=
CHECKSUM_NONE
;
ah
=
(
struct
ip_auth_hdr
*
)
skb
->
data
;
iph
=
skb
->
nh
.
iph
;
...
...
net/ipv4/esp.c
View file @
285def0f
...
...
@@ -481,6 +481,8 @@ int esp_input(struct xfrm_state *x, struct sk_buff *skb)
if
((
nfrags
=
skb_cow_data
(
skb
,
0
,
&
trailer
))
<
0
)
goto
out
;
skb
->
ip_summed
=
CHECKSUM_NONE
;
esph
=
(
struct
ip_esp_hdr
*
)
skb
->
data
;
iph
=
skb
->
nh
.
iph
;
...
...
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