net: geneve: set IFF_POINTOPOINT with IFLA_GENEVE_INNER_PROTO_INHERIT
The GENEVE tunnel used with IFLA_GENEVE_INNER_PROTO_INHERIT is point-to-point, so set IFF_POINTOPOINT to reflect that. Signed-off-by: Josef Miegl <josef@miegl.cz> Reviewed-by: Simon Horman <simon.horman@corigine.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
613a3c44a3
commit
45ef71d108
@ -1426,7 +1426,7 @@ static int geneve_configure(struct net *net, struct net_device *dev,
|
||||
dev->type = ARPHRD_NONE;
|
||||
dev->hard_header_len = 0;
|
||||
dev->addr_len = 0;
|
||||
dev->flags = IFF_NOARP;
|
||||
dev->flags = IFF_POINTOPOINT | IFF_NOARP;
|
||||
}
|
||||
|
||||
err = register_netdevice(dev);
|
||||
|
Loading…
x
Reference in New Issue
Block a user