Skip to content

Minor managed neighbor follow-ups

Daniel Borkmann bpf netdev 1 version Applied

Status from this message: This series was applied to netdev/net-next.git (master)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 5 repliesApplied 3/3

Patches in v1 All 3 applied

#Subject and filesSizeRepliesApplied
1/3net, neigh: Add build-time assertion to avoid neigh->flags overflownet/core/neighbour.c+3 -01 replyApplied
2/3net, neigh: Use NLA_POLICY_MASK helper for NDA_FLAGS_EXT attributenet/core/neighbour.c+1 -53 repliesApplied
3/3net, neigh: Reject creating NUD_PERMANENT with NTF_MANAGED entriesnet/core/neighbour.c+8 -31 replyApplied

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchDavid Ahern
1/3R-b
2/3
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [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(-)
Signature · 1 line
2.27.0