Re: [Patch net-next] route: fix a use-after-free

2015-08-25 Thread David Miller
From: Cong Wang Date: Tue, 25 Aug 2015 10:38:53 -0700 > This patch fixes the following crash: ... > dst is freed right before lwtstate_put(), this is not correct... > > Fixes: 61adedf3e3f1 ("route: move lwtunnel state to dst_entry") > Acked-by: Jiri Benc > Signed-off-by: Cong Wang > Signed-of

[Patch net-next] route: fix a use-after-free

2015-08-25 Thread Cong Wang
This patch fixes the following crash: general protection fault: [#1] SMP DEBUG_PAGEALLOC CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.2.0-rc7+ #166 Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 task: 88010656d280 ti: 88010657 task.ti: 88010657 RIP: 0010:[] [] dst_