]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0f1252c7a0119af8fd21e83abbde8e172adb3eb7
tree4e3bef41fe0f253abbecf6b040edec570a3fb34e
parentee0bc2ede711fee82cd1a840452f3de500053b0c
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