Re: [PATCH net] ipv4: fix memory leaks in ip_cmsg_send() callers
From: David Miller <davem@davemloft.net> Date: 2016-02-13 10:59:16
From: Eric Dumazet <redacted>
Date: Thu, 04 Feb 2016 06:23:28 -0800
From: Eric Dumazet <edumazet@google.com>
Dmitry reported memory leaks of IP options allocated in
ip_cmsg_send() when/if this function returns an error.
Callers are responsible for the freeing.
Many thanks to Dmitry for the report and diagnostic.
Reported-by: Dmitry Vyukov <dvyukov@google.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>