diff options
author | Yajun Deng <yajun.deng@linux.dev> | 2021-09-13 12:04:42 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-09-13 12:37:04 +0100 |
commit | d7807a9adf4856171f8441f13078c33941df48ab (patch) | |
tree | b924b7199a3ace19ae09cb97db9ef1173fce1b1d /net/dcb/dcbnl.c | |
parent | 2049eb0d20de1e6533526ad209f5d1b006ed97c7 (diff) | |
download | linux-d7807a9adf4856171f8441f13078c33941df48ab.tar.bz2 |
Revert "ipv4: fix memory leaks in ip_cmsg_send() callers"
This reverts commit 919483096bfe75dda338e98d56da91a263746a0a.
There is only when ip_options_get() return zero need to free.
It already called kfree() when return error.
Fixes: 919483096bfe ("ipv4: fix memory leaks in ip_cmsg_send() callers")
Signed-off-by: Yajun Deng <yajun.deng@linux.dev>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dcb/dcbnl.c')
0 files changed, 0 insertions, 0 deletions