Skip to content

rtnetlink: add missing attributes in if_nlmsg_size

Sabrina Dubroca netdev 2 versions – Applied

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

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 1 replyApplied 2/2
  2. v12 patches 4 repliesSuperseded

Patches in v2 All 2 applied

#Subject and filesSizeRepliesApplied
1/2rtnetlink: count IFLA_PARENT_DEV_{NAME,BUS_NAME} in if_nlmsg_sizenet/core/rtnetlink.c+16 -01 replyApplied
2/2rtnetlink: count IFLA_INFO_SLAVE_KIND in if_nlmsg_sizenet/core/rtnetlink.c+6 -30 repliesApplied

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchJiri PirkoSergey Ryazanov
1/2R-b
2/2R-b

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

Read the v2 thread

Cover letter [PATCH net v2 0/2] rtnetlink: add missing attributes in if_nlmsg_size

Once again we have some attributes added by rtnl_fill_ifinfo() that aren't counted in if_nlmsg_size().

v2: add missing nla_total_size in patch 1, spotted by Sergey Ryazanov
patch 2 unchanged, keep Jiri Pirko's Reviewed-by

Sabrina Dubroca (2):
rtnetlink: count IFLA_PARENT_DEV_{NAME,BUS_NAME} in if_nlmsg_size
rtnetlink: count IFLA_INFO_SLAVE_KIND in if_nlmsg_size

 net/core/rtnetlink.c | 25 ++++++++++++++++++++++---
 1 file changed, 22 insertions(+), 3 deletions(-)
Signature · 1 line
2.51.2