Re: [PATCH net] ipv6: sctp: implement sctp_v6_destroy_sock()

From: Daniel Borkmann
Date: Tue Dec 01 2015 - 10:55:41 EST


On 12/01/2015 04:20 PM, Eric Dumazet wrote:
From: Eric Dumazet <edumazet@xxxxxxxxxx>

Dmitry Vyukov reported a memory leak using IPV6 SCTP sockets.

We need to call inet6_destroy_sock() to properly release
inet6 specific fields.

Reported-by: Dmitry Vyukov <dvyukov@xxxxxxxxxx>
Signed-off-by: Eric Dumazet <edumazet@xxxxxxxxxx>

Acked-by: Daniel Borkmann <daniel@xxxxxxxxxxxxx>
--
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/