commit | b9ceb55eb918974c8cd8c32824c327c1ae0ccd3c | [log] [tgz] |
---|---|---|
author | developer <developer@mediatek.com> | Mon Oct 21 15:24:16 2024 +0800 |
committer | developer <developer@mediatek.com> | Wed Oct 23 17:47:34 2024 +0800 |
tree | 9d54ad60948e99512669e061937abfe5ac16e2b3 | |
parent | 2dddc739fc9881fae39ddb955bc697f0ededef2a [diff] |
[][HIGH][kernel][common][hnat][Add releases the reference to ct] [Description] Add hnat releases the reference to conntrack. Without this patch, conntrack will full in long time test. [Release-log] N/A Change-Id: I21d2df8100de7a8cf7f11ec267e8fff3701cea2d Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/9779345
diff --git a/21.02/files/target/linux/mediatek/files-5.4/drivers/net/ethernet/mediatek/mtk_hnat/hnat_debugfs.c b/21.02/files/target/linux/mediatek/files-5.4/drivers/net/ethernet/mediatek/mtk_hnat/hnat_debugfs.c index ab68eac..49554b8 100644 --- a/21.02/files/target/linux/mediatek/files-5.4/drivers/net/ethernet/mediatek/mtk_hnat/hnat_debugfs.c +++ b/21.02/files/target/linux/mediatek/files-5.4/drivers/net/ethernet/mediatek/mtk_hnat/hnat_debugfs.c
@@ -1149,6 +1149,8 @@ /* avoid compiler warnings */ if (tuple.dst.protonum == IPPROTO_TCP) nf_conntrack_tcp_established(ct); + + nf_ct_put(ct); } }