diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2014-06-16 06:49:18 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-06-17 08:56:10 +0100 |
commit | 0e626d5023fee4dbcc5d94e6b787b4c5fe4b2687 (patch) | |
tree | de1f29a18102fa2b0b919f7f4d845a5c442d19a1 /meta/classes | |
parent | 790362b41c83ab90ffaf7c43112602821f212892 (diff) | |
download | openembedded-core-0e626d5023fee4dbcc5d94e6b787b4c5fe4b2687.tar.gz openembedded-core-0e626d5023fee4dbcc5d94e6b787b4c5fe4b2687.tar.bz2 openembedded-core-0e626d5023fee4dbcc5d94e6b787b4c5fe4b2687.zip |
systemd: check IFLA_VLAN_PROTOCOL
The older kernel's linux/if_link.h doesn't have IFLA_VLAN_PROTOCOL, we need
check whether it has been defined or not.
The maintainer said that he would fix it:
http://thread.gmane.org/gmane.comp.sysutils.systemd.devel/18200
Also we need redefine IFLA_MAX from 34 to 35 when define IFLA_CARRIER,
otherwise there would be error:
| src/libsystemd/sd-rtnl/rtnl-types.c:233:9: error: array index in initializer exceeds array bounds
| [IFLA_CARRIER] = { .type = NLA_U8 },
[YOCTO #6380]
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
0 files changed, 0 insertions, 0 deletions