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
d7dceb58
Commit
d7dceb58
authored
Nov 17, 2002
by
Jean-Philippe Sugarbroad
Committed by
David S. Miller
Nov 17, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[IPSEC]: Fix double unlock in esp/ah.
parent
7c9608de
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
net/ipv4/ah.c
net/ipv4/ah.c
+2
-1
net/ipv4/esp.c
net/ipv4/esp.c
+2
-1
No files found.
net/ipv4/ah.c
View file @
d7dceb58
...
...
@@ -234,11 +234,12 @@ int ah_output(struct sk_buff *skb)
x
->
curlft
.
packets
++
;
spin_unlock_bh
(
&
x
->
lock
);
if
((
skb
->
dst
=
dst_pop
(
dst
))
==
NULL
)
goto
error
;
goto
error
_nolock
;
return
NET_XMIT_BYPASS
;
error:
spin_unlock_bh
(
&
x
->
lock
);
error_nolock:
kfree_skb
(
skb
);
return
err
;
}
...
...
net/ipv4/esp.c
View file @
d7dceb58
...
...
@@ -435,11 +435,12 @@ int esp_output(struct sk_buff *skb)
x
->
curlft
.
packets
++
;
spin_unlock_bh
(
&
x
->
lock
);
if
((
skb
->
dst
=
dst_pop
(
dst
))
==
NULL
)
goto
error
;
goto
error
_nolock
;
return
NET_XMIT_BYPASS
;
error:
spin_unlock_bh
(
&
x
->
lock
);
error_nolock:
kfree_skb
(
skb
);
return
err
;
}
...
...
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