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
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(
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