On Dienstag, 27. Februar 2018 09:10:16 CET Linus Lüssing wrote:
if (nla_put_u8(msg, BATADV_ATTR_MCAST_FLAGS, flags) ||
nla_put_u8(msg, BATADV_ATTR_MCAST_FLAGS_PRIV, flags_priv))
return -EMSGSIZE;
Are you sure that 8 flags are enough for the future? Not that you are ending up with a 9th flag and don't know where to put it.
Kind regards, Sven