summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/cadence
diff options
context:
space:
mode:
authorWei Yongjun <weiyj.lk@gmail.com>2016-08-11 23:29:54 +0000
committerDavid S. Miller <davem@davemloft.net>2016-08-14 21:21:37 -0700
commit02ee9b18dedf1d72afa0fbfb0d7c15f6b4904a07 (patch)
treec072e8ec9b0f374d509cfe37abfecef28f63bc4b /drivers/net/ethernet/cadence
parent2fb876b2221d35fab002595af71c7ea339166a20 (diff)
downloadtalos-obmc-linux-02ee9b18dedf1d72afa0fbfb0d7c15f6b4904a07.tar.gz
talos-obmc-linux-02ee9b18dedf1d72afa0fbfb0d7c15f6b4904a07.zip
qed: Fix possible memory leak in qed_dcbnl_get_ieee_pfc()
'dcbx_info is malloced in qed_dcbnl_get_ieee_pfc() and should be freed before leaving from the error handling cases, otherwise it will cause memory leak. Fixes: a1d8d8a51e83 ("qed: Add dcbnl support.") Signed-off-by: Wei Yongjun <weiyj.lk@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/cadence')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud