diff options
| author | Wei Yongjun <[email protected]> | 2016-08-11 23:29:54 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2016-08-15 04:21:37 +0000 |
| commit | 02ee9b18dedf1d72afa0fbfb0d7c15f6b4904a07 (patch) | |
| tree | c072e8ec9b0f374d509cfe37abfecef28f63bc4b /net/switchdev/switchdev.c | |
| parent | Merge branch 'cxgb4-IFLA_VF_MAC' (diff) | |
| download | kernel-02ee9b18dedf1d72afa0fbfb0d7c15f6b4904a07.tar.gz kernel-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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
