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> (backported from commit b04c46190219a4f845e46a459e3102137b7f6cac) Conflicts: net/ipv4/ping.c CVE-2014-2851 BugLink: http://bugs.launchpad.net/bugs/1312994 Signed-off-by: Tyler Hicks <tyhicks@canonical.com> Signed-off-by: Andy Whitcroft <apw@canonical.com>