Revert "net:tipc: Fix a double free in tipc_sk_mcast_rcv"
authorHoang Le <hoang.h.le@dektech.com.au>
Fri, 14 May 2021 01:23:03 +0000 (08:23 +0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 14 May 2021 22:01:58 +0000 (15:01 -0700)
commit75016891357a628d2b8acc09e2b9b2576c18d318
tree5c504903891f0548c028317ac03cd5158638c4cb
parent414ed7fe863a1822c5ddcea080c76ce0b1c6d3fd
Revert "net:tipc: Fix a double free in tipc_sk_mcast_rcv"

This reverts commit 6bf24dc0cc0cc43b29ba344b66d78590e687e046.
Above fix is not correct and caused memory leak issue.

Fixes: 6bf24dc0cc0c ("net:tipc: Fix a double free in tipc_sk_mcast_rcv")
Acked-by: Jon Maloy <jmaloy@redhat.com>
Acked-by: Tung Nguyen <tung.q.nguyen@dektech.com.au>
Signed-off-by: Hoang Le <hoang.h.le@dektech.com.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/socket.c