]> git.baikalelectronics.ru Git - kernel.git/commit
mctp: Remove only static neighbour on RTM_DELNEIGH
authorGagan Kumar <gagan1kumar.cs@gmail.com>
Sat, 1 Jan 2022 05:41:25 +0000 (11:11 +0530)
committerDavid S. Miller <davem@davemloft.net>
Sun, 2 Jan 2022 12:18:14 +0000 (12:18 +0000)
commit17bb923e7e1c5dffeb437ce99c969fd8c2749241
treedf6d03434788efdff770084a74c01372787ebe86
parenta86c2c28d9c87ba55d0dede3d209d6fb4d82de01
mctp: Remove only static neighbour on RTM_DELNEIGH

Add neighbour source flag in mctp_neigh_remove(...) to allow removal of
only static neighbours.

This should be a no-op change and might be useful later when mctp can
have MCTP_NEIGH_DISCOVER neighbours.

Signed-off-by: Gagan Kumar <gagan1kumar.cs@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mctp/neigh.c