diff options
author | Matt Johnston <matt@codeconstruct.com.au> | 2021-12-01 09:07:42 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-12-02 13:15:25 +0100 |
commit | 76d001603c509562181f3787a7065b8e163bc7b9 (patch) | |
tree | 8b5261f4d4ecd6b312ca5e4289ca1dfdc6408dc2 /net/rds | |
parent | net/smc: Keep smc_close_final rc during active close (diff) | |
download | linux-76d001603c509562181f3787a7065b8e163bc7b9.tar.xz linux-76d001603c509562181f3787a7065b8e163bc7b9.zip |
mctp: Don't let RTM_DELROUTE delete local routes
We need to test against the existing route type, not
the rtm_type in the netlink request.
Fixes: 83f0a0b7285b ("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>
Diffstat (limited to 'net/rds')
0 files changed, 0 insertions, 0 deletions