Re: [ovs-dev] [ovs-discuss] a question about ovs crash relationship with learn action

2018-07-10 Thread Ben Pfaff
Can you explain further? Throwing away the cache entries makes the cache less useful. Are you really using v2.7.0? None of the line numbers match up, either in the backtrace or in the patch. On Tue, Jun 26, 2018 at 10:38:50AM +, wangyunjian wrote: > I think the function xlate_cache_clear()

Re: [ovs-dev] [ovs-discuss] a question about ovs crash relationship with learn action

2018-06-26 Thread wangyunjian
I think the function xlate_cache_clear() needs be called after xlate_push_stats() to avoid xcache->entries use-after-free. diff --git a/ofproto/ofproto-dpif-upcall.c b/ofproto/ofproto-dpif-upcall.c index 85f5792..71b846c 100644 --- a/ofproto/ofproto-dpif-upcall.c +++ b/ofproto/ofproto-dpif-upcall