git: 476f69f0e597 - stable/13 - netlink: fix NLMSG_SPACE() macro.

From: Alexander V. Chernikov <melifaro_at_FreeBSD.org>
Date: Mon, 23 Jan 2023 22:11:53 UTC
The branch stable/13 has been updated by melifaro:

URL: https://cgit.FreeBSD.org/src/commit/?id=476f69f0e597a39904a3bc491133dafb0507ae02

commit 476f69f0e597a39904a3bc491133dafb0507ae02
Author:     Alexander V. Chernikov <melifaro@FreeBSD.org>
AuthorDate: 2022-10-31 15:02:12 +0000
Commit:     Alexander V. Chernikov <melifaro@FreeBSD.org>
CommitDate: 2023-01-23 22:04:02 +0000

    netlink: fix NLMSG_SPACE() macro.
    
    Reported by:    bapt
    
    (cherry picked from commit 03de61aabb40dab3c7311e1664c85e41dafe29b4)
---
 sys/netlink/netlink.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/netlink/netlink.h b/sys/netlink/netlink.h
index 6a68dcec1382..3623ae754951 100644
--- a/sys/netlink/netlink.h
+++ b/sys/netlink/netlink.h
@@ -205,7 +205,7 @@ enum nlmsgerr_attrs {
 #define NLMSG_ALIGN(_len)		NL_ITEM_ALIGN(_len)
 #define NLMSG_HDRLEN			((int)sizeof(struct nlmsghdr))
 #define NLMSG_LENGTH(_len)		((_len) + NLMSG_HDRLEN)
-#define NLMSG_SPACE(len)		NLMSG_ALIGN(NLMSG_LENGTH(_len))
+#define NLMSG_SPACE(_len)		NLMSG_ALIGN(NLMSG_LENGTH(_len))
 #define NLMSG_DATA(_hdr)		NL_ITEM_DATA(_hdr, NLMSG_HDRLEN)
 #define	_NLMSG_LEN(_hdr)		((int)(_hdr)->nlmsg_len)
 #define	_NLMSG_ALIGNED_LEN(_hdr)	NLMSG_ALIGN(_NLMSG_LEN(_hdr))