aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/usb/asix_devices.c
diff options
context:
space:
mode:
authorWei Yongjun <[email protected]>2018-07-03 13:45:12 +0000
committerDavid S. Miller <[email protected]>2018-07-04 13:08:21 +0000
commit30e99ed6dbdde68f5ad23db3a5872c3c247526b6 (patch)
treeb2af1a927062e3b97f8eceed5f4814e221dca0b1 /drivers/net/usb/asix_devices.c
parentMerge branch 'bridge-iproute2-isolated-port-and-selftests' (diff)
downloadkernel-30e99ed6dbdde68f5ad23db3a5872c3c247526b6.tar.gz
kernel-30e99ed6dbdde68f5ad23db3a5872c3c247526b6.zip
net: sched: act_pedit: fix possible memory leak in tcf_pedit_init()
'keys_ex' is malloced by tcf_pedit_keys_ex_parse() in tcf_pedit_init() but not all of the error handle path free it, this may cause memory leak. This patch fix it. Fixes: 71d0ed7079df ("net/act_pedit: Support using offset relative to the conventional network headers") Signed-off-by: Wei Yongjun <[email protected]> Acked-by: Cong Wang <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/usb/asix_devices.c')
0 files changed, 0 insertions, 0 deletions