This patch series adds dev_change_proto_down_generic, a generic
implementation of ndo_change_proto_down, which sets the netdev carrier
state according to the new proto_down value.

This handler adds the ability to set protodown on macvlan and vxlan
interfaces in a generic way for use by control protocols like VRRPD.

Patch (1) introduces the handler in net/code/dev.c. Patch (2) and (3) add
support for change_proto_down in macvlan and vxlan drivers, respectively,
using the new function.

Andy Roulin (3):
  net: dev: add generic protodown handler
  macvlan: add ndo_change_proto_down support
  vxlan: add ndo_change_proto_down support

 drivers/net/macvlan.c     |  1 +
 drivers/net/vxlan.c       |  1 +
 include/linux/netdevice.h |  1 +
 net/core/dev.c            | 19 +++++++++++++++++++
 4 files changed, 22 insertions(+)

-- 
2.11.0

Reply via email to