Re: [PATCH] mptcp: fix memory leak in mptcp_subflow_create_socket()

2020-06-12 Thread Mat Martineau
Hello Wei, On Fri, 12 Jun 2020, Wei Yongjun wrote: socket malloced by sock_create_kern() should be release before return in the error handling, otherwise it cause memory leak. unreferenced object 0x88810910c000 (size 1216): comm "0003_test_m", pid 12238, jiffies 4295050289 (age 54.

[PATCH] mptcp: fix memory leak in mptcp_subflow_create_socket()

2020-06-12 Thread Wei Yongjun
socket malloced by sock_create_kern() should be release before return in the error handling, otherwise it cause memory leak. unreferenced object 0x88810910c000 (size 1216): comm "0003_test_m", pid 12238, jiffies 4295050289 (age 54.237s) hex dump (first 32 bytes): 01 00 00 00 01 00