Re: [patch net-next 1/2] [PATCH] net: ip, raw_diag -- Fix socket leaking for destroy request
On 11/2/16 6:36 AM, Cyrill Gorcunov wrote: > In raw_diag_destroy the helper raw_sock_get returns > with sock_hold call, so we have to put it then. > > CC: David S. Miller> CC: Eric Dumazet > CC: David Ahern > CC: Andrey
[patch net-next 1/2] [PATCH] net: ip, raw_diag -- Fix socket leaking for destroy request
In raw_diag_destroy the helper raw_sock_get returns with sock_hold call, so we have to put it then. CC: David S. MillerCC: Eric Dumazet CC: David Ahern CC: Andrey Vagin CC: Stephen Hemminger