OSDN Git Service

Merge branch 'minor-managed-neighbor-follow-ups'
authorJakub Kicinski <kuba@kernel.org>
Fri, 15 Oct 2021 02:16:24 +0000 (19:16 -0700)
committerJakub Kicinski <kuba@kernel.org>
Fri, 15 Oct 2021 02:16:24 +0000 (19:16 -0700)
commitc47fedba94bc7f13e86033a6e72b6471d0f8838f
treeecb461991215ba2658ce6d311ebb87da4a2a78aa
parent20d446f24f378ee63a29b259b375691d25002448
parent30fc7efa38f21afa48b0be6bf2053e4c10ae2c78
Merge branch 'minor-managed-neighbor-follow-ups'

Daniel Borkmann says:

====================
Minor managed neighbor follow-ups

Minor follow-up series to address prior feedback from David and Jakub.
Patch 1 adds a build time assertion to prevent overflows when shifting
in extended flags, patch 2 is a cleanup to use NLA_POLICY_MASK instead
of open-coding invalid flags rejection and patch 3 rejects creating new
neighbors with NUD_PERMANENT & NTF_MANAGED. For details, see individual
patches.
====================

Link: https://lore.kernel.org/r/20211013132140.11143-1-daniel@iogearbox.net
Signed-off-by: Jakub Kicinski <kuba@kernel.org>