Commit 812ed9b7 authored by Matt Johnston's avatar Matt Johnston Committed by Greg Kroah-Hartman
Browse files

mctp: Don't let RTM_DELROUTE delete local routes



[ Upstream commit 76d00160 ]

We need to test against the existing route type, not
the rtm_type in the netlink request.

Fixes: 83f0a0b7 ("mctp: Specify route types, require rtm_type in RTM_*ROUTE messages")
Signed-off-by: default avatarMatt Johnston <matt@codeconstruct.com.au>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent f1bcddbc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment