]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ixgbe: Fix memleak in ixgbe_configure_clsu32
authorDinghao Liu <dinghao.liu@zju.edu.cn>
Sun, 3 Jan 2021 08:08:42 +0000 (16:08 +0800)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Thu, 4 Mar 2021 19:05:06 +0000 (11:05 -0800)
commit7a766381634da19fc837619b0a34590498d9d29a
tree8c187de3dad473692a73ec776683c02388928178
parentd785e1fec60179f534fbe8d006c890e5ad186e51
ixgbe: Fix memleak in ixgbe_configure_clsu32

When ixgbe_fdir_write_perfect_filter_82599() fails,
input allocated by kzalloc() has not been freed,
which leads to memleak.

Signed-off-by: Dinghao Liu <dinghao.liu@zju.edu.cn>
Reviewed-by: Paul Menzel <pmenzel@molgen.mpg.de>
Tested-by: Tony Brelinski <tonyx.brelinski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c