summaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorChen Li <chenli@uniontech.com>2021-06-07 09:44:35 +0800
committerDavid S. Miller <davem@davemloft.net>2021-06-10 12:51:33 -0700
commitd409989b59ad0b8d108706db25e17c320a9664eb (patch)
treed06d6c55ba7cc6a535ef46bf209c1d0bba419c37 /net/unix/af_unix.c
parent0d155170d6eebbd6c50e16bc928c31b3f5473025 (diff)
downloadlinux-stable-d409989b59ad0b8d108706db25e17c320a9664eb.tar.gz
linux-stable-d409989b59ad0b8d108706db25e17c320a9664eb.tar.bz2
linux-stable-d409989b59ad0b8d108706db25e17c320a9664eb.zip
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: Chen Li <chenli@uniontech.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions