unt of orig_node object during the
initialization and adding corresponding batadv_orig_node_put() in
batadv_neigh_node_release().
Signed-off-by: Xiyu Yang
Signed-off-by: Xin Tan
---
net/batman-adv/originator.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/net/batman-adv/originator.c b/net
routing.
Signed-off-by: Xiyu Yang
Signed-off-by: Xin Tan
---
net/ipv6/route.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/net/ipv6/route.c b/net/ipv6/route.c
index 82cbb46a2a4f..427ecd7032bd 100644
--- a/net/ipv6/route.c
+++ b/net/ipv6/route.c
@@ -3682,14 +3682
ct to the return value of
uart_port_lock() when invoking uart_port_lock().
Signed-off-by: Xiyu Yang
Signed-off-by: Xin Tan
---
drivers/tty/serial/serial_core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/tty/serial/serial_core.c b/drivers/tty/serial/serial_core.c
he return value of
uart_port_lock() when invoking uart_port_lock().
Signed-off-by: Xiyu Yang
Signed-off-by: Xin Tan
---
drivers/tty/serial/serial_core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/tty/serial/serial_core.c b/drivers/tty/serial/serial_core.c
f the "skb" object and directly return it,
causing a potential memory leak in the caller function.
Fix this issue by calling refcount_inc after __skb_dequeue()
successfully executed.
Signed-off-by: Xiyu Yang
Signed-off-by: Xin Tan
---
net/sctp/socket.c | 2 ++
1 file changed, 2 insertions(
t_gpu flag is
equals to true.
Signed-off-by: Xiyu Yang
Signed-off-by: Xin Tan
---
drivers/gpu/drm/ttm/ttm_bo.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/ttm/ttm_bo.c b/drivers/gpu/drm/ttm/ttm_bo.c
index f73b81c2576e..0f20e14a4cfd 100644
--- a/drivers/
ak.
Fix this issue by calling dma_fence_put() when no_wait_gpu flag is
equals to true.
Signed-off-by: Xiyu Yang
Signed-off-by: Xin Tan
---
drivers/gpu/drm/ttm/ttm_bo_vm.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/gpu/drm/ttm/ttm_bo_vm.c b/drivers/gpu/drm/ttm/ttm_bo_vm.c
index a43
ncreased refcount will not be balanced outside the
function, causing a refcnt leak.
Fix this issue by setting the value of "rc" to 0 before jumping to
"oshr_free" label.
Signed-off-by: Xiyu Yang
Signed-off-by: Xin Tan
---
fs/cifs/smb2ops.c | 1 +
1 file changed, 1 insertion(+)
dif
rpcb_getport_async() invokes rpcb_call_async(), which return the value
of rpc_run_task() to "child". Since rpc_run_task() is impossible to
return an ERR pointer, there is no need to add the IS_ERR() condition on
"child" here. So we need to remove it.
Signed-off-by: Xiyu Yang
nlp_init() or
lpfc_enable_node() or lpfc_nlp_get(), causing a refcnt leak.
Fix this issue by calling lpfc_nlp_put() when "ndlp" in DEV_LOSS.
Signed-off-by: Xiyu Yang
Signed-off-by: Xin Tan
---
drivers/scsi/lpfc/lpfc_els.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/
cnt increased by svc_xprt_get(),
causing a refcnt leak.
Fix this issue by calling svc_xprt_put() when setup callback client
failed.
Signed-off-by: Xiyu Yang
Signed-off-by: Xin Tan
---
fs/nfsd/nfs4callback.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/fs/nfsd/nfs4callback.c b/fs/nfsd/nfs4cal
o decrease the refcnt increased by
kref_get(), causing a refcnt leak.
Fix this issue by calling kref_put() when those error scenarios occur.
Signed-off-by: Xiyu Yang
Signed-off-by: Xin Tan
---
drivers/dax/bus.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/dax/bus.c b/d
arams(). When config DMA channel failed for Back-End,
the function forgets to decrease the refcnt increased by
dma_request_channel() or fsl_asrc_get_dma_channel(), causing a refcnt
leak.
Fix this issue by calling dma_release_channel() when config DMA channel
failed.
Signed-off-by: Xiyu Yang
Signe
rror occurred in
afs_wait_for_fs_probes(), the function forgets to decrease the refcnt
increased by afs_get_cb_interest(), causing a refcnt leak.
Fix this issue by calling afs_put_cb_interest() when error occurred in
afs_wait_for_fs_probes().
Signed-off-by: Xiyu Yang
Signed-off-by: Xin Tan
---
fs/afs/rotate.c | 4
14 matches
Mail list logo