diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2016-11-23 15:13:18 -0800 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2016-11-24 12:53:19 +0100 |
commit | a9dce48b22171c4764dbf6a0006df4efb4aa2d86 (patch) | |
tree | 423d257e2f54066a9b2be094c0d82bf533f5aa95 | |
parent | 715fd8c5bc7c113960ddf077f02144f4d6fa96ff (diff) | |
download | upstream-a9dce48b22171c4764dbf6a0006df4efb4aa2d86.tar.gz upstream-a9dce48b22171c4764dbf6a0006df4efb4aa2d86.tar.bz2 upstream-a9dce48b22171c4764dbf6a0006df4efb4aa2d86.zip |
libnl-tiny: Remove GENL_ID_GENERATE
This constant was always defined to 0, and recently got removed in
upstream commit a07ea4d9941af5a0c6f0be2a71b51ac9c083c5e5 ("genetlink: no
longer support using static family IDs")
Fixes libnl-tiny builds with latest upstream kernels.
Fixes: d723f2573af3 ("libnl-tiny: remove include/linux overrides to fix various build issues")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
-rw-r--r-- | package/libs/libnl-tiny/src/include/netlink/genl/family.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/libs/libnl-tiny/src/include/netlink/genl/family.h b/package/libs/libnl-tiny/src/include/netlink/genl/family.h index b7cf48fb78..8a1a38ba25 100644 --- a/package/libs/libnl-tiny/src/include/netlink/genl/family.h +++ b/package/libs/libnl-tiny/src/include/netlink/genl/family.h @@ -62,7 +62,7 @@ static inline unsigned int genl_family_get_id(struct genl_family *family) if (family->ce_mask & FAMILY_ATTR_ID) return family->gf_id; else - return GENL_ID_GENERATE; + return 0; } static inline void genl_family_set_id(struct genl_family *family, unsigned int id) |