https://github.com/torvalds/linux
Revision 832e09798c261cf58de3a68cfcc6556408c16a5a authored by Zhang Changzhong on 02 December 2020, 09:58:42 UTC, committed by Jakub Kicinski on 03 December 2020, 02:04:02 UTC
Fix to return a negative error code from the error handling
case instead of 0, as done elsewhere in this function.

Fixes: 0ce1822c2a08 ("vxlan: add adjacent link to limit depth level")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zhang Changzhong <zhangchangzhong@huawei.com>
Link: https://lore.kernel.org/r/1606903122-2098-1-git-send-email-zhangchangzhong@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
1 parent aba8487
History
Tip revision: 832e09798c261cf58de3a68cfcc6556408c16a5a authored by Zhang Changzhong on 02 December 2020, 09:58:42 UTC
vxlan: fix error return code in __vxlan_dev_create()
Tip revision: 832e097

back to top