https://github.com/torvalds/linux
Revision eb32b3f53d283e8d68b6d86c3a6ed859b24dacae authored by Eli Britstein on 28 June 2020, 12:42:26 UTC, committed by Saeed Mahameed on 10 July 2020, 02:27:07 UTC
CT entries are deleted via a workqueue from netfilter. If removing the
module before that, the rules are cleaned by the driver itself, but the
memory entries for them are not freed. Fix that.

Fixes: ac991b48d43c ("net/mlx5e: CT: Offload established flows")
Signed-off-by: Eli Britstein <elibr@mellanox.com>
Reviewed-by: Roi Dayan <roid@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
1 parent 88b3d5c
History
Tip revision: eb32b3f53d283e8d68b6d86c3a6ed859b24dacae authored by Eli Britstein on 28 June 2020, 12:42:26 UTC
net/mlx5e: CT: Fix memory leak in cleanup
Tip revision: eb32b3f
File Mode Size
Kconfig -rw-r--r-- 74.0 KB
Makefile -rw-r--r-- 1.2 KB
calibrate.c -rw-r--r-- 8.6 KB
do_mounts.c -rw-r--r-- 16.0 KB
do_mounts.h -rw-r--r-- 1.1 KB
do_mounts_initrd.c -rw-r--r-- 3.7 KB
do_mounts_md.c -rw-r--r-- 7.9 KB
do_mounts_rd.c -rw-r--r-- 8.1 KB
init_task.c -rw-r--r-- 5.9 KB
initramfs.c -rw-r--r-- 14.6 KB
main.c -rw-r--r-- 36.9 KB
noinitramfs.c -rw-r--r-- 873 bytes
version.c -rw-r--r-- 1.3 KB

back to top