summaryrefslogtreecommitdiffstats
path: root/drivers/net/geneve.c
diff options
context:
space:
mode:
authorJosef Miegl <josef@miegl.cz>2023-03-12 17:45:57 +0100
committerDavid S. Miller <davem@davemloft.net>2023-03-15 09:12:04 +0100
commit45ef71d108e6f1545e2981d8af03be13f2e39411 (patch)
treece05a94b43e59d6250ffd9c4bf4c9b107e84b532 /drivers/net/geneve.c
parentnet: ieee802154: ca8210: drop owner from driver (diff)
downloadlinux-45ef71d108e6f1545e2981d8af03be13f2e39411.tar.xz
linux-45ef71d108e6f1545e2981d8af03be13f2e39411.zip
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>
Diffstat (limited to 'drivers/net/geneve.c')
-rw-r--r--drivers/net/geneve.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/geneve.c b/drivers/net/geneve.c
index 89ff7f8e8c7e..5c3c7169c0a2 100644
--- a/drivers/net/geneve.c
+++ b/drivers/net/geneve.c
@@ -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);