diff options
| author | Eric Dumazet <[email protected]> | 2016-02-04 14:23:28 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2016-02-13 10:57:39 +0000 |
| commit | 919483096bfe75dda338e98d56da91a263746a0a (patch) | |
| tree | f7b3a3af7c789efb21850da66bde661e06445d81 /net/unix/af_unix.c | |
| parent | net: mvpp2: Return correct error codes (diff) | |
| download | kernel-919483096bfe75dda338e98d56da91a263746a0a.tar.gz kernel-919483096bfe75dda338e98d56da91a263746a0a.zip | |
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 <[email protected]>
Signed-off-by: Eric Dumazet <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
