summaryrefslogtreecommitdiffstats
path: root/src/nlmsg.c
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2025-09-15 14:40:30 +0200
committerFlorian Westphal <fw@strlen.de>2025-09-15 20:17:42 +0200
commit54dea548d796653534645c6e3c8577eaf7d77411 (patch)
tree50f662e9399bf3472382fb3a2a058bba5ad06966 /src/nlmsg.c
parent03da98bcd284d55212bc79e91dfb63da0ef7b937 (diff)
examples: genl: fix wrong attribute sizeHEADmaster
This example no longer works on more recent kernels: genl-family-get error: Invalid argument dmesg says: netlink: 'genl-family-get': attribute type 1 has an invalid length. Fix this and also zero out the reserved field in the genl header, while not validated yet for dumps this could change. Reported-by: Divyanshu Rathore <Divyanshu.Rathore@bmwtechworks.in> Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'src/nlmsg.c')
0 files changed, 0 insertions, 0 deletions