Message ID | CAKqLStYErR+mk7n1i9vZAJ6Du_VSsyu7mQ2XiSsdzFJCryPm0g@mail.gmail.com |
---|---|
State | Changes Requested, archived |
Delegated to: | David Miller |
Headers | show |
Series | [net] mpls: allow routes on ip6gre devices | expand |
From: Saif Hasan <saifhhasan@gmail.com> Date: Wed, 19 Sep 2018 12:59:24 -0700 > @@ -1533,10 +1533,11 @@ static int mpls_dev_notify(struct > notifier_block *this, unsigned long event, > unsigned int flags; > > if (event == NETDEV_REGISTER) { > - /* For now just support Ethernet, IPGRE, SIT and IPIP devices */ > + /* For now just support Ethernet, IPGRE, IP6GRE, SIT and IPIP devices */ > if (dev->type == ARPHRD_ETHER || Your email client has corrupted this patch, please fix.
diff --git a/net/mpls/af_mpls.c b/net/mpls/af_mpls.c index 7a4de6d618b1..aeb5bf2f7595 100644 --- a/net/mpls/af_mpls.c +++ b/net/mpls/af_mpls.c @@ -1533,10 +1533,11 @@ static int mpls_dev_notify(struct notifier_block *this, unsigned long event, unsigned int flags; if (event == NETDEV_REGISTER) { - /* For now just support Ethernet, IPGRE, SIT and IPIP devices */ + /* For now just support Ethernet, IPGRE, IP6GRE, SIT and IPIP devices */ if (dev->type == ARPHRD_ETHER || dev->type == ARPHRD_LOOPBACK || dev->type == ARPHRD_IPGRE || + dev->type == ARPHRD_IP6GRE || dev->type == ARPHRD_SIT || dev->type == ARPHRD_TUNNEL) {