diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2023-05-14 13:30:18 +0200 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2023-05-23 16:13:28 +0200 |
commit | 1c3c68970e34b895b6ec52b2144d0382b3bf640b (patch) | |
tree | a396e2f6027c27761817841cd98f7eb1f4a35621 | |
parent | 770d1a4502dd214c75b1418b49c0f51fdbb2ad8e (diff) | |
download | passt-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 * |