diff options
author | 2020-08-24 13:58:31 +0800 | |
---|---|---|
committer | 2020-08-24 05:58:41 -0700 | |
commit | 7ef1fc57301f3cef7201497aa27e89ccb91737fe (patch) | |
tree | ce44405b99eacb60edbffb7bf4c2cddac60a07fd /net/netfilter/ipset/ip_set_hash_netnet.c | |
parent | net: hns: Fix memleak in hns_nic_dev_probe (diff) | |
download | linux-7ef1fc57301f3cef7201497aa27e89ccb91737fe.tar.gz linux-7ef1fc57301f3cef7201497aa27e89ccb91737fe.tar.bz2 linux-7ef1fc57301f3cef7201497aa27e89ccb91737fe.zip |
net: systemport: Fix memleak in bcm_sysport_probe
When devm_kcalloc() fails, dev should be freed just
like what we've done in the subsequent error paths.
Fixes: 7b78be48a8eb6 ("net: systemport: Dynamically allocate number of TX rings")
Signed-off-by: Dinghao Liu <dinghao.liu@zju.edu.cn>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netfilter/ipset/ip_set_hash_netnet.c')
0 files changed, 0 insertions, 0 deletions