Bug 4228 - BUG:memory leak in cfctrl_linkup_request()
Summary: BUG:memory leak in cfctrl_linkup_request()
Status: RESOLVED FIXED
Alias: None
Product: ANCK 4.19 Dev
Classification: ANCK
Component: general/others (show other bugs) general/others
Version: 4.19-026.x
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: maqiao
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-25 15:42 UTC by wangkaiyuan
Modified: 2023-02-28 19:40 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description wangkaiyuan inspur_group 2023-02-25 15:42:08 UTC
Description of problem:
When linktype is unknown or kzalloc failed in cfctrl_linkup_request(),
pkt is not released. Add release process to error path.


Version-Release number of selected component (if applicable):
4.19.91

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:
Comment 1 maqiao alibaba_cloud_group 2023-02-28 19:40:03 UTC
merged: https://gitee.com/anolis/cloud-kernel/pulls/1283