Skip to contentSkip to conversation

netlink: simplify NLMSG_DATA with NLMSG_HDRLEN

PATCH Jakub Kicinski 2 participants 2 messages May 27, 2021 – May 28, 2021 1 message not in the archive

lore
Share & tools
lore
#2 lore raw
Quoted 11 lines · Jakub Kicinski
Quoted 5 lines · On Thu, 27 May 2021 15:21:36 +0800 Chen Li wrote:

The NLMSG_LENGTH(0) may confuse the API users,
NLMSG_HDRLEN is much more clear.

Besides, some code style problems are also fixed.

Looks fine, but you'll need to repost and CC netdev@vger.

Thanks, done.