All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 net-next 0/2] rtnetlink: Updates to rtnetlink_event()
@ 2017-04-04 13:23 Vladislav Yasevich
  2017-04-04 13:23 ` [PATCH v2 net-next 1/2] rtnetlink: Convert rtnetlink_event to white list Vladislav Yasevich
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Vladislav Yasevich @ 2017-04-04 13:23 UTC (permalink / raw)
  To: netdev; +Cc: roopa, dsa, davem, Vladislav Yasevich

This series came out of the conversation that started as a result
my first attempt to add netdevice event info to netlink messages.

This series converts event processing to a 'white list', where
we explicitely permit events to generate netlink messages.  This
is meant to make people take a closer look and determine wheter
these events should really trigger netlink messages.

I am also adding a V2 of my patch to add event type to the netlink
message.  This version supports all events that we currently generate.

I will also update my patch to iproute that will show this data
through 'ip monitor'. 

I actually need the ability to trap NETDEV_NOTIFY_PEERS event
(as well as possible NETDEV_RESEND_IGMP) to support hanlding of
macvtap on top of bonding.  I hope others will also find this info usefull.

V2: Added missed events (from David Ahern)

Vladislav Yasevich (2):
  rtnetlink: Convert rtnetlink_event to white list
  rtnl: Add support for netdev event to link messages

 include/linux/rtnetlink.h    |   3 +-
 include/uapi/linux/if_link.h |  21 ++++++++
 net/core/dev.c               |   2 +-
 net/core/rtnetlink.c         | 121 +++++++++++++++++++++++++++++++++++--------
 4 files changed, 123 insertions(+), 24 deletions(-)

-- 
2.7.4

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-04-05 15:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-04 13:23 [PATCH v2 net-next 0/2] rtnetlink: Updates to rtnetlink_event() Vladislav Yasevich
2017-04-04 13:23 ` [PATCH v2 net-next 1/2] rtnetlink: Convert rtnetlink_event to white list Vladislav Yasevich
2017-04-04 13:23 ` [PATCH v2 net-next 2/2] rtnl: Add support for netdev event to link messages Vladislav Yasevich
2017-04-04 13:23 ` [PATCH net-next 0/2] rtnetlink: Updates to rtnetlink_event() Vladislav Yasevich
2017-04-05 15:14 ` [PATCH v2 " David Miller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.