commit | d7807a9adf4856171f8441f13078c33941df48ab | [log] [tgz] |
---|---|---|
author | Yajun Deng <yajun.deng@linux.dev> | Mon Sep 13 12:04:42 2021 +0800 |
committer | David S. Miller <davem@davemloft.net> | Mon Sep 13 12:37:04 2021 +0100 |
tree | b924b7199a3ace19ae09cb97db9ef1173fce1b1d | |
parent | 2049eb0d20de1e6533526ad209f5d1b006ed97c7 [diff] |
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>