diff options
author | Colin Ian King | 2016-11-23 12:02:44 +0100 |
---|---|---|
committer | David S. Miller | 2016-11-25 22:09:50 +0100 |
commit | 619228d86b0e32e00758dcf07ca5d06903d9a9d7 (patch) | |
tree | 92053a012587b528e567a43c2e665ca0672a827c /kernel/bpf/cgroup.c | |
parent | tuntap: remove unnecessary sk_receive_queue length check during xmit (diff) | |
download | kernel-qcow2-linux-619228d86b0e32e00758dcf07ca5d06903d9a9d7.tar.gz kernel-qcow2-linux-619228d86b0e32e00758dcf07ca5d06903d9a9d7.tar.xz kernel-qcow2-linux-619228d86b0e32e00758dcf07ca5d06903d9a9d7.zip |
cxgb4: fix memory leak on txq_info
Currently if txq_info->uldtxq cannot be allocated then
txq_info->txq is being kfree'd (which is redundant because it
is NULL) instead of txq_info. Fix this by instead kfree'ing
txq_info.
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/bpf/cgroup.c')
0 files changed, 0 insertions, 0 deletions