Skip to content
Commit ceb736e1 authored by Zhang Qilong's avatar Zhang Qilong Committed by Jakub Kicinski
Browse files

ipv6: Fix error path to cancel the meseage



genlmsg_cancel() needs to be called in the error path of
inet6_fill_ifmcaddr and inet6_fill_ifacaddr to cancel
the message.

Fixes: 6ecf4c37 ("ipv6: enable IFA_TARGET_NETNSID for RTM_GETADDR")
Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarZhang Qilong <zhangqilong3@huawei.com>
Link: https://lore.kernel.org/r/20201112080950.1476302-1-zhangqilong3@huawei.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 9c2e14b4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment