diff options
author | Eric Dumazet <edumazet@google.com> | 2016-02-04 06:23:28 -0800 |
---|---|---|
committer | Sasha Levin <sasha.levin@oracle.com> | 2016-03-04 10:25:50 -0500 |
commit | ffe8615cbb6abdbb66b8c8b33a3e7ea06c6662f9 (patch) | |
tree | b0cc8c614d54f626247c176edfa40039a04c9fff /fs/9p | |
parent | 54d0901de6ecdfc72514f5c610fe89d65674c126 (diff) |
ipv4: fix memory leaks in ip_cmsg_send() callers
[ Upstream commit 919483096bfe75dda338e98d56da91a263746a0a ]
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>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Diffstat (limited to 'fs/9p')
0 files changed, 0 insertions, 0 deletions