]> asedeno.scripts.mit.edu Git - linux.git/commit
Merge branch 'net-protodown-support-for-macvlan-and-vxlan'
authorDavid S. Miller <davem@davemloft.net>
Sun, 24 Feb 2019 21:01:05 +0000 (13:01 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 24 Feb 2019 21:01:05 +0000 (13:01 -0800)
commitfad4271bec382a7a985ba9c1b31c85611ec90708
treea93e0b61558f9e539b3f5371ab571500b800019f
parent45c0e7b25ab21b8217ae63d1d31850a40e415f57
parent8f1af75df3a7a670d125f31ede3cfea1f5c1a81b
Merge branch 'net-protodown-support-for-macvlan-and-vxlan'

Andy Roulin says:

====================
net: protodown support for macvlan and vxlan

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.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>