commit | 919483096bfe75dda338e98d56da91a263746a0a | [log] [tgz] |
---|---|---|
author | Eric Dumazet <edumazet@google.com> | Thu Feb 04 06:23:28 2016 -0800 |
committer | David S. Miller <davem@davemloft.net> | Sat Feb 13 05:57:39 2016 -0500 |
tree | f7b3a3af7c789efb21850da66bde661e06445d81 | |
parent | c2bb7bc5c007b7b55087eb05409edc2014f43ca8 [diff] |
ipv4: fix memory leaks in ip_cmsg_send() callers 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> Signed-off-by: David S. Miller <davem@davemloft.net>