The kernel accepts more attributes in an RTM_DELNEIGH request than the spec lists. FDB deletion identifies the entry by NDA_LLADDR and NDA_VLAN, and bulk deletion (NLM_F_BULK) filters entries by NDA_NDM_STATE_MASK and NDA_NDM_FLAGS_MASK. Add lladdr, vlan, ndm-state-mask and ndm-flags-mask to the request attributes of delneigh, so that these requests can be built through YNL. Signed-off-by: Petr Machata Reviewed-by: Nikolay Aleksandrov --- CC: David Ahern CC: Donald Hunter Documentation/netlink/specs/rt-neigh.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/netlink/specs/rt-neigh.yaml b/Documentation/netlink/specs/rt-neigh.yaml index 7929e667cc7a..4dd4e3d997f0 100644 --- a/Documentation/netlink/specs/rt-neigh.yaml +++ b/Documentation/netlink/specs/rt-neigh.yaml @@ -380,7 +380,11 @@ operations: value: 29 attributes: - dst + - lladdr + - vlan - ifindex + - ndm-state-mask + - ndm-flags-mask - name: delneigh-ntf doc: Notify a neighbour deletion -- 2.56.1