diff options
author | Geliang Tang <geliang.tang@suse.com> | 2022-12-08 16:44:30 -0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-12-09 19:46:11 -0800 |
commit | 8b34b52c1794932a16308631121b758830349ae9 (patch) | |
tree | ac057456e5bc0c3ac8be69dbc3aec06e20b01d11 /LICENSES | |
parent | c80edd8d41d9a7cd4ff6aa5e8f5d5b9d066f6984 (diff) |
mptcp: use nlmsg_free instead of kfree_skb
Use nlmsg_free() instead of kfree_skb() in pm_netlink.c.
The SKB's have been created by nlmsg_new(). The proper cleaning way
should then be done with nlmsg_free().
For the moment, nlmsg_free() is simply calling kfree_skb() so we don't
change the behaviour here.
Suggested-by: Jakub Kicinski <kuba@kernel.org>
Reviewed-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: Geliang Tang <geliang.tang@suse.com>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'LICENSES')
0 files changed, 0 insertions, 0 deletions