repositories
/
deb_libnfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aec45c6
)
Ensure the next pointer is correct
author
Mark Hills
<mark.hills@framestore.com>
Thu, 27 Feb 2014 12:52:54 +0000
(12:52 +0000)
committer
Ronnie Sahlberg
<ronniesahlberg@gmail.com>
Fri, 4 Apr 2014 00:51:56 +0000
(17:51 -0700)
Fixes a bug where the next pointer was not being explicitly set. We
were ok much of the time due to zero-filled memory, and also we need
this if the same pdu is re-queued.
lib/pdu.c
patch
|
blob
|
blame
|
history
diff --git
a/lib/pdu.c
b/lib/pdu.c
index 2f4761d20a2b87825d52c1c1f2df786ceb14c464..05c2aededd70dac5c03612808603549fcd6e9e11 100644
(file)
--- a/
lib/pdu.c
+++ b/
lib/pdu.c
@@
-65,6
+65,7
@@
void rpc_enqueue(struct rpc_queue *q, struct rpc_pdu *pdu)
else
q->tail->next = pdu;
q->tail = pdu;
+ pdu->next = NULL;
}
/*