]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
net: ipv4: current group_info should be put after using.
authorWang, Xiaoming <xiaoming.wang@intel.com>
Mon, 14 Apr 2014 16:30:45 +0000 (12:30 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Apr 2014 02:52:58 +0000 (22:52 -0400)
commitb04c46190219a4f845e46a459e3102137b7f6cac
treed176026196edd1e7e2590906a9a7bea824dff1dd
parent321d03c86732e45f5f33ad0db5b68e2e1364acb9
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: Chuansheng Liu <chuansheng.liu@intel.com>
Signed-off-by: Zhang Dongxing <dongxing.zhang@intel.com>
Signed-off-by: xiaoming wang <xiaoming.wang@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ping.c