commit | bfb8799ab575c6076ca2ee1738453643d5ef6bfa | [log] [tgz] |
---|---|---|
author | Petr Oros <poros@redhat.com> | Wed Sep 05 14:37:45 2018 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Sep 26 08:36:30 2018 +0200 |
tree | 1d3251773394525e7ea69c25556683d2bd8e9fbc | |
parent | 70915e25e1cff60c32e79e5b02e9559c1ed7bab2 [diff] |
be2net: Fix memory leak in be_cmd_get_profile_config() [ Upstream commit 9d7f19dc4673fbafebfcbf30eb90e09fa7d1c037 ] DMA allocated memory is lost in be_cmd_get_profile_config() when we call it with non-NULL port_res parameter. Signed-off-by: Petr Oros <poros@redhat.com> Reviewed-by: Ivan Vecera <ivecera@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>