Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libvdp-pesi
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Jobs
Commits
Open sidebar
uplex-varnish
libvdp-pesi
Commits
44cdd7c2
Commit
44cdd7c2
authored
Jul 30, 2019
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fini nexus earlier
parent
8736cbe1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
16 deletions
+20
-16
vdp_pesi.c
src/vdp_pesi.c
+20
-16
No files found.
src/vdp_pesi.c
View file @
44cdd7c2
...
...
@@ -1567,7 +1567,7 @@ static int
bytes_push_worklist
(
struct
req
*
req
,
struct
bytes_tree
*
tree
,
struct
node_head
*
work
)
{
struct
node
*
node
,
*
next
;
struct
node
*
node
,
*
next
,
*
parent
;
int
retval
=
0
;
node
=
VSTAILQ_FIRST
(
work
);
...
...
@@ -1612,21 +1612,25 @@ bytes_push_worklist(struct req *req, struct bytes_tree *tree,
*/
VSTAILQ_FOREACH
(
node
,
work
,
unpend
)
{
switch
(
node
->
type
)
{
case
T_FINAL
:
fini_final
(
req
,
node
);
break
;
case
T_SUBREQ
:
fini_subreq
(
req
,
node
);
break
;
case
T_DATA
:
fini_data
(
req
,
node
);
break
;
case
T_CRC
:
break
;
default:
INCOMPL
();
}
node_fini
(
req
,
node
);
if
(
VSTAILQ_NEXT
(
node
,
sibling
)
!=
NULL
)
continue
;
parent
=
node
->
parent
;
/* don't touch the root */
if
(
parent
->
parent
==
NULL
)
continue
;
/*
* fini the now unneeded parent ASAP
*
* this is separate from set_delived() because
* - set_delivered() happens under the lock
* - set_delivered() can also be called from
* within the parent's FSM
*/
node_fini
(
req
,
parent
);
}
return
(
retval
);
...
...
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