Re: [PATCH RESEND bpf] bpf, s390: Fix potential memory leak about jit_data

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 9/27/21 1:33 PM, Ilya Leoshkevich wrote:
On Mon, 2021-09-27 at 15:06 +0800, Tiezhu Yang wrote:
Make sure to free jit_data through kfree() in the error path.

Fixes: 1c8f9b91c456 ("bpf: s390: add JIT support for multi-function
programs")
Signed-off-by: Tiezhu Yang <yangtiezhu@xxxxxxxxxxx>
---

RESEND due to the following reason:
[Can not connect to recipient's server because of unstable
network or firewall filter. rcpt handle timeout, last handle
info: Can not connect to vger.kernel.org]

  arch/s390/net/bpf_jit_comp.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

Nice catch, thanks!

Acked-by: Ilya Leoshkevich <iii@xxxxxxxxxxxxx>

Given s390, I presume this would be routed to Linus via Heiko/Vasily?

Thanks,
Daniel



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Kernel Development]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Info]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Linux Media]     [Device Mapper]

  Powered by Linux