rtnetlink: advertise allmulti counter
authorNicolas Dichtel <nicolas.dichtel@6wind.com>
Tue, 6 Sep 2022 09:55:58 +0000 (11:55 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 16 Sep 2022 08:28:44 +0000 (09:28 +0100)
commit7e6e1b57162ed6a2d32d2f0929c27d79482ff706
tree4e3bef41fe0f253abbecf6b040edec570a3fb34e
parentda970726ea872269dc311b6dd87af8cf457b8fe9
rtnetlink: advertise allmulti counter

Like what was done with IFLA_PROMISCUITY, add IFLA_ALLMULTI to advertise
the allmulti counter.
The flag IFF_ALLMULTI is advertised only if it was directly set by a
userland app.

Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/if_link.h
net/core/rtnetlink.c