Re: [PATCH net-next] net ipv6: Prevent neighbor add if protocol is disabled on device

2019-04-17 Thread David Miller
From: David Ahern Date: Tue, 16 Apr 2019 17:31:43 -0700 > From: David Ahern > > Disabling IPv6 on an interface removes existing entries but nothing prevents > new entries from being manually added. To that end, add a new neigh_table > operation, allow_add, that is called on RTM_NEWNEIGH to see

[PATCH net-next] net ipv6: Prevent neighbor add if protocol is disabled on device

2019-04-16 Thread David Ahern
From: David Ahern Disabling IPv6 on an interface removes existing entries but nothing prevents new entries from being manually added. To that end, add a new neigh_table operation, allow_add, that is called on RTM_NEWNEIGH to see if neighbor entries are allowed on a given device. If IPv6 is disabl