Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mptcp: use sock_kfree_s instead of kfree
The local address entries on userspace_pm_local_addr_list are allocated by sock_kmalloc(). It's better to use sock_kfree_s() to free each of them and adjust the allocated size, instead of using kfree(). Fixes: 24430f8 ("mptcp: add address into userspace pm list") Signed-off-by: Geliang Tang <[email protected]>
- Loading branch information