Re: [PATCH] drm/amdgpu: prevent double kfree ttm->sg

2020-09-16 Thread Christian König
Am 15.09.20 um 23:52 schrieb Philip Yang: Set ttm->sg to NULL after kfree, to avoid memory corruption backtrace: [ 420.932812] kernel BUG at /build/linux-do9eLF/linux-4.15.0/mm/slub.c:295! [ 420.934182] invalid opcode: [#1] SMP NOPTI [ 420.935445] Modules linked in: xt_conntrack

Re: [PATCH] drm/amdgpu: prevent double kfree ttm->sg

2020-09-15 Thread Felix Kuehling
Am 2020-09-15 um 5:52 p.m. schrieb Philip Yang: > Set ttm->sg to NULL after kfree, to avoid memory corruption backtrace: > > [ 420.932812] kernel BUG at > /build/linux-do9eLF/linux-4.15.0/mm/slub.c:295! > [ 420.934182] invalid opcode: [#1] SMP NOPTI > [ 420.935445] Modules linked in:

[PATCH] drm/amdgpu: prevent double kfree ttm->sg

2020-09-15 Thread Philip Yang
Set ttm->sg to NULL after kfree, to avoid memory corruption backtrace: [ 420.932812] kernel BUG at /build/linux-do9eLF/linux-4.15.0/mm/slub.c:295! [ 420.934182] invalid opcode: [#1] SMP NOPTI [ 420.935445] Modules linked in: xt_conntrack ipt_MASQUERADE [ 420.951332] Hardware name: Dell