Skip to content

Fix "NLA_F_NESTED is missing" error

Ossama Othman ell 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2genl: Add missing NLA_F_NESTED bitell/genl.c+1 -10 replies
2/2unit: Update expected nested netlink attr dataunit/test-genl-msg.c+3 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] Fix "NLA_F_NESTED is missing" error

This set of patches addresses a "NLA_F_NESTED is missing" error under strict nested netlink attribute validation by the kernel. Users can work around the error by explicitly setting the NLA_F_NESTED bit in the type passed to l_genl_msg_enter_nested(), but having ELL transparently set the bit seems more appropriate.

Ossama Othman (2):
genl: Add missing NLA_F_NESTED bit
unit: Update expected nested netlink attr data

 ell/genl.c           | 2 +-
 unit/test-genl-msg.c | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)
Signature · 1 line
2.25.1