aboutgitcodebugslistschat
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2023-05-14 13:30:18 +0200
committerStefano Brivio <sbrivio@redhat.com>2023-05-23 16:13:28 +0200
commit1c3c68970e34b895b6ec52b2144d0382b3bf640b (patch)
treea396e2f6027c27761817841cd98f7eb1f4a35621
parent770d1a4502dd214c75b1418b49c0f51fdbb2ad8e (diff)
downloadpasst-1c3c68970e34b895b6ec52b2144d0382b3bf640b.tar
passt-1c3c68970e34b895b6ec52b2144d0382b3bf640b.tar.gz
passt-1c3c68970e34b895b6ec52b2144d0382b3bf640b.tar.bz2
passt-1c3c68970e34b895b6ec52b2144d0382b3bf640b.tar.lz
passt-1c3c68970e34b895b6ec52b2144d0382b3bf640b.tar.xz
passt-1c3c68970e34b895b6ec52b2144d0382b3bf640b.tar.zst
passt-1c3c68970e34b895b6ec52b2144d0382b3bf640b.zip
netlink: Fix comment about response buffer size for nl_req()
Fixes: fde8004ab0b4 ("netlink: Use 8 KiB * netlink message header size as response buffer") Signed-off-by: Stefano Brivio <sbrivio@redhat.com> Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
-rw-r--r--netlink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/netlink.c b/netlink.c
index b99af85..c07a13c 100644
--- a/netlink.c
+++ b/netlink.c
@@ -99,7 +99,7 @@ fail:
/**
* nl_req() - Send netlink request and read response
* @ns: Use netlink socket in namespace
- * @buf: Buffer for response (at least BUFSIZ long)
+ * @buf: Buffer for response (at least NLBUFSIZ long)
* @req: Request with netlink header
* @len: Request length
*