Re: [PATCH] net: ipv4: current group_info should be put after using.

From: David Miller
Date: Sun Apr 13 2014 - 22:54:21 EST


From: "Wang, Xiaoming" <xiaoming.wang@xxxxxxxxx>
Date: Mon, 14 Apr 2014 12:30:45 -0400

> 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@xxxxxxxxx>
> Signed-off-by: Zhang Dongxing <dongxing.zhang@xxxxxxxxx>
> Signed-off-by: xiaoming wang <xiaoming.wang@xxxxxxxxx>

Applied and queued up for -stable, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/