Re: [PATCH net-next 1/2] rtnetlink: Convert rtnetlink_event to white list

2017-04-01 Thread David Ahern
On 3/31/17 8:27 PM, Vladislav Yasevich wrote: > diff --git a/net/core/rtnetlink.c b/net/core/rtnetlink.c > index 9c3947a..f48a60d 100644 > --- a/net/core/rtnetlink.c > +++ b/net/core/rtnetlink.c > @@ -4116,22 +4116,23 @@ static int rtnetlink_event(struct notifier_block > *this, unsigned long event

[PATCH net-next 1/2] rtnetlink: Convert rtnetlink_event to white list

2017-03-31 Thread Vladislav Yasevich
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 wo