Skip to content
Snippets Groups Projects
Commit d7807a9a authored by Yajun Deng's avatar Yajun Deng Committed by David S. Miller
Browse files

Revert "ipv4: fix memory leaks in ip_cmsg_send() callers"


This reverts commit 91948309.

There is only when ip_options_get() return zero need to free.
It already called kfree() when return error.

Fixes: 91948309 ("ipv4: fix memory leaks in ip_cmsg_send() callers")
Signed-off-by: default avatarYajun Deng <yajun.deng@linux.dev>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 2049eb0d
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment