Re: use after free again...

2015-08-25 Thread Jiri Benc
On Mon, 24 Aug 2015 23:02:02 -0700, Cong Wang wrote: > Hi, Jiri, > > In your commit 61adedf3e3f1d3f032c5a6a299978d91eff6d555 ("route: move > lwtunnel state to dst_entry"), how the hell could the following piece > be correct? :-/ It's not. > I cooked a _quick_ patch to fix it. I can send it forma

use after free again...

2015-08-24 Thread Cong Wang
Hi, Jiri, In your commit 61adedf3e3f1d3f032c5a6a299978d91eff6d555 ("route: move lwtunnel state to dst_entry"), how the hell could the following piece be correct? :-/ @@ -264,6 +266,7 @@ again: kfree(dst); else kmem_cache_free(dst->ops->kmem_cachep, dst); +