[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20211013132140.11143-1-daniel@iogearbox.net>
Date: Wed, 13 Oct 2021 15:21:37 +0200
From: Daniel Borkmann <daniel@...earbox.net>
To: davem@...emloft.net, kuba@...nel.org
Cc: roopa@...dia.com, dsahern@...nel.org, m@...bda.lt,
john.fastabend@...il.com, netdev@...r.kernel.org,
bpf@...r.kernel.org, Daniel Borkmann <daniel@...earbox.net>
Subject: [PATCH net-next 0/3] 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. Will push out iproute2 series after that. Thanks!
Daniel Borkmann (3):
net, neigh: Add build-time assertion to avoid neigh->flags overflow
net, neigh: Use NLA_POLICY_MASK helper for NDA_FLAGS_EXT attribute
net, neigh: Reject creating NUD_PERMANENT with NTF_MANAGED entries
net/core/neighbour.c | 20 ++++++++++++--------
1 file changed, 12 insertions(+), 8 deletions(-)
--
2.27.0
Powered by blists - more mailing lists