Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit a2181d55 authored by Wang, Xiaoming's avatar Wang, Xiaoming Committed by Ravi Kumar Siddojigari
Browse files

net: ipv4: current group_info should be put after using.



Plug a group_info refcount leak in ping_init.
group_info is only needed during initialization and
the code failed to release the reference on exit.
While here move grabbing the reference to a place
where it is actually needed.

Change-Id: I38d476f49e7ae300bc1168bc4b2c1b67274a51ca
Signed-off-by: default avatarChuansheng Liu <chuansheng.liu@intel.com>
Signed-off-by: default avatarZhang Dongxing <dongxing.zhang@intel.com>
Signed-off-by: default avatarxiaoming wang <xiaoming.wang@intel.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Git-commit:b04c46190219a4f845e46a459e3102137b7f6cac
Git-repo: https://git.kernel.org/cgit/linux/kernel/git/davem/net.git


Signed-off-by: default avatarDivya Sharma <c_shard@codeaurora.org>
parent c30e0fc0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment