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
On Dienstag, 27. Februar 2018 09:10:16 CET Linus Lüssing wrote:
> diff --git a/net/batman-adv/multicast.c b/net/batman-adv/multicast.c
> index 6eaffe50..0578c1d6 100644
> --- a/net/batman-adv/multicast.c
> +++ b/net/batman-adv/multicast.c
> @@ -52,14 +52,20 @@
> #include
> #include
> #include
Dump the list of multicast flags entries via the netlink socket.
Signed-off-by: Linus Lüssing
---
include/uapi/linux/batman_adv.h | 62 +++
net/batman-adv/multicast.c | 236
net/batman-adv/multicast.h | 18