Skip to content
Snippets Groups Projects
Commit b04c4619 authored by Wang, Xiaoming's avatar Wang, Xiaoming Committed by David S. Miller
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.

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>
parent 321d03c8
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment