plug upcall leak introduced by the commit "ofproto-dpif-upcall: Forward packets in order of arrival." (commit 04a19fb8f4b8ba19a9805906aac7b30b65b57206)
Signed-off-by: YAMAMOTO Takashi <y...@mwd.biglobe.ne.jp> --- ofproto/ofproto-dpif-upcall.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ofproto/ofproto-dpif-upcall.c b/ofproto/ofproto-dpif-upcall.c index d75c61b..2b029f5 100644 --- a/ofproto/ofproto-dpif-upcall.c +++ b/ofproto/ofproto-dpif-upcall.c @@ -814,6 +814,11 @@ handle_miss_upcalls(struct udpif *udpif, struct list *upcalls) } } + LIST_FOR_EACH_SAFE (upcall, next, list_node, upcalls) { + list_remove(&upcall->list_node); + upcall_destroy(upcall); + } + atomic_read(&udpif->reval_seq, &reval_seq); if (reval_seq != fmb->reval_seq) { COVERAGE_INC(fmb_queue_revalidated); -- 1.8.3.1 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev