https://github.com/torvalds/linux
Revision 8572cea1461a006bce1d06c0c4b0575869125fa4 authored by Navid Emamdoost on 25 September 2019, 18:24:02 UTC, committed by David S. Miller on 27 September 2019, 18:10:52 UTC
In nfp_flower_spawn_phy_reprs, in the for loop over eth_tbl if any of
intermediate allocations or initializations fail memory is leaked.
requiered releases are added.

Fixes: b94524529741 ("nfp: flower: add per repr private data for LAG offload")
Signed-off-by: Navid Emamdoost <navid.emamdoost@gmail.com>
Acked-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent dfe5999
History
Tip revision: 8572cea1461a006bce1d06c0c4b0575869125fa4 authored by Navid Emamdoost on 25 September 2019, 18:24:02 UTC
nfp: flower: prevent memory leak in nfp_flower_spawn_phy_reprs
Tip revision: 8572cea
File Mode Size
Documentation
LICENSES
arch
block
certs
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.clang-format -rw-r--r-- 15.0 KB
.cocciconfig -rw-r--r-- 59 bytes
.get_maintainer.ignore -rw-r--r-- 71 bytes
.gitattributes -rw-r--r-- 30 bytes
.gitignore -rw-r--r-- 1.7 KB
.mailmap -rw-r--r-- 13.1 KB
COPYING -rw-r--r-- 423 bytes
CREDITS -rw-r--r-- 97.1 KB
Kbuild -rw-r--r-- 1.5 KB
Kconfig -rw-r--r-- 595 bytes
MAINTAINERS -rw-r--r-- 515.0 KB
Makefile -rw-r--r-- 59.8 KB
README -rw-r--r-- 727 bytes

README

back to top