Skip to content

rtnetlink: Updates to rtnetlink_event()

Vladislav Yasevich netdev 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 2 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 2 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net-next 0/2] rtnetlink: Updates to rtnetlink_event()

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.

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 |  19 ++++++++
 net/core/dev.c               |   2 +-
 net/core/rtnetlink.c         | 113 ++++++++++++++++++++++++++++++++++---------
 4 files changed, 113 insertions(+), 24 deletions(-)
Signature · 1 line
2.7.4