[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#6760) rwm broken entry handling

Full_Name: Hallvard B Furuseth
Version: 2.4.23, HEAD
Submission from: (NULL) (
Submitted by: hallvard

rwm_entry_get_rw() returns failure with an entry in *ep
if rwm_send_entry() fails.

rwm_send_entry() does not honor REP_ENTRY_MUSTBEFREED.
And its ITS#6423 bugcatch can be done before entry_dup().

Fixing - I think - but my fix could use some extra eyes.

In particuar, am I right about using be_entry_release_r()
or should it have used overlay_entry_release_ov() which
rs_replace_entry() uses?  Or should rwm_send_entry() use
different release methods depending on whether it is called
by rwm.on_response or rwm.on_bi.bi_entry_get_rw?