• Vlad Yasevich's avatar
    rtnetlink: Convert rtnetlink_event to white list · 5138e86f
    Vlad Yasevich authored
    The rtnetlink_event currently functions as a blacklist where
    we block cerntain netdev events from being sent to user space.
    As a result, events have been added to the system that userspace
    probably doesn't care about.
    
    This patch converts the implementation to the white list so that
    newly events would have to be specifically added to the list to
    be sent to userspace.  This would force new event implementers to
    consider whether a given event is usefull to user space or if it's
    just a kernel event.
    Signed-off-by: default avatarVladislav Yasevich <vyasevic@redhat.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    5138e86f
rtnetlink.c 101 KB