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 <davem@davemloft.net>
CC: Eric Dumazet <redacted>
CC: David Ahern <redacted>
CC: Andrey Vagin <redacted>
CC: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: Cyrill Gorcunov <redacted>
---
net/ipv4/raw_diag.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
Acked-by: David Ahern <redacted>