linux/net/mctp
Matt Johnston 812ed9b712 mctp: Don't let RTM_DELROUTE delete local routes
[ Upstream commit 76d001603c ]

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

Fixes: 83f0a0b728 ("mctp: Specify route types, require rtm_type in RTM_*ROUTE messages")
Signed-off-by: Matt Johnston <matt@codeconstruct.com.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-12-08 09:04:53 +01:00
..
af_mctp.c mctp: handle the struct sockaddr_mctp padding fields 2021-11-18 19:16:02 +01:00
device.c mctp: Allow per-netns default networks 2021-07-29 15:06:50 +01:00
Kconfig mctp: Add MCTP base 2021-07-29 15:06:49 +01:00
Makefile mctp: Add neighbour implementation 2021-07-29 15:06:50 +01:00
neigh.c mctp: Add neighbour netlink interface 2021-07-29 15:06:50 +01:00
route.c mctp: Don't let RTM_DELROUTE delete local routes 2021-12-08 09:04:53 +01:00