chiark / gitweb /
sd-netlink: drop NETLINK_TYPE_META
authorDavid Herrmann <dh.herrmann@gmail.com>
Tue, 23 Jun 2015 09:54:43 +0000 (11:54 +0200)
committerSven Eden <yamakuzure@gmx.net>
Tue, 14 Mar 2017 09:04:18 +0000 (10:04 +0100)
commitb72bd2c20e0f9767c0bd0f1aff97d3a77ed681c5
tree99628cf69f916a6b58cd0e5e23548588ceb2290e
parent53cb490ec6c1ebe1e19d28fdf504d0d6d57e9425
sd-netlink: drop NETLINK_TYPE_META

The NETLINK_TYPE_META pseudo-type is actually equivalent to an empty
nested type. Drop it and define an empty type-system instead.

This also has the nice side-effect that m->container_type_system[0] is
never NULL (which has really nasty side-effects if you try to read
attributes).
src/libsystemd/sd-netlink/netlink-types.c
src/libsystemd/sd-netlink/netlink-types.h