Skip to content
Commit d409989b authored by Chen Li's avatar Chen Li Committed by David S. Miller
Browse files

netlink: simplify NLMSG_DATA with NLMSG_HDRLEN



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

Besides, some code style problems are also fixed.
Signed-off-by: default avatarChen Li <chenli@uniontech.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 0d155170
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment