diff options
| author | Christophe JAILLET <[email protected]> | 2017-09-30 05:34:34 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-10-02 05:57:24 +0000 |
| commit | 81359617f1b783a01e6e22b46cbb046e9513b9c6 (patch) | |
| tree | a362ce35fcdd1d33e5d12ac99b920a04fc1f1483 /net/unix/af_unix.c | |
| parent | net: mvpp2: Fix clock resource by adding an optional bus clock (diff) | |
| download | kernel-81359617f1b783a01e6e22b46cbb046e9513b9c6.tar.gz kernel-81359617f1b783a01e6e22b46cbb046e9513b9c6.zip | |
net: hns3: Fix an error handling path in 'hclge_rss_init_hw()'
If this sanity check fails, we must free 'rss_indir'. Otherwise there is a
memory leak.
'goto err' as done in the other error handling paths to fix it.
Fixes: 46a3df9f9718 ("net: hns3: Fix for setting rss_size incorrectly")
Signed-off-by: Christophe JAILLET <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
