diff options
| author | Joe Damato <jdamato@fastly.com> | 2025-02-14 21:12:29 +0000 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-02-17 16:46:03 -0800 |
| commit | a127c18462ea619a1ace1f00540807e009dbf225 (patch) | |
| tree | 9b7bd2e9a8b7948ba7fe95ec172e111540a9bfdb /net/lapb/lapb_subr.c | |
| parent | c935af429ec2344ffe716f869ddde43f5f1b20dc (diff) | |
netlink: Add nla_put_empty_nest helper
Creating empty nests is helpful when the exact attributes to be exposed
in the future are not known. Encapsulate the logic in a helper.
Signed-off-by: Joe Damato <jdamato@fastly.com>
Suggested-by: Jakub Kicinski <kuba@kernel.org>
Link: https://patch.msgid.link/20250214211255.14194-2-jdamato@fastly.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions
