summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/3com
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2022-02-08 01:35:02 +0100
committerJakub Kicinski <kuba@kernel.org>2022-02-08 04:53:38 +0100
commitd1d5bd647c49c8d4f8f4c5b79ddc819a6f3f7c57 (patch)
treeb2b858d179d29fb1013865f289d41d3f6ebd1dd8 /drivers/net/ethernet/3com
parentnet: dsa: mv88e6xxx: Unlock on error in mv88e6xxx_port_bridge_join() (diff)
downloadlinux-d1d5bd647c49c8d4f8f4c5b79ddc819a6f3f7c57.tar.xz
linux-d1d5bd647c49c8d4f8f4c5b79ddc819a6f3f7c57.zip
net: typhoon: include <net/vxlan.h>
We need this to get vxlan_features_check() definition. Fixes: d2692eee05b8 ("net: typhoon: implement ndo_features_check method") Signed-off-by: Eric Dumazet <edumazet@google.com> Link: https://lore.kernel.org/r/20220208003502.1799728-1-eric.dumazet@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/3com')
-rw-r--r--drivers/net/ethernet/3com/typhoon.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/ethernet/3com/typhoon.c b/drivers/net/ethernet/3com/typhoon.c
index 08f6c42a1e38..ad57209007e1 100644
--- a/drivers/net/ethernet/3com/typhoon.c
+++ b/drivers/net/ethernet/3com/typhoon.c
@@ -2257,6 +2257,9 @@ out:
}
#if MAX_SKB_FRAGS > 32
+
+#include <net/vxlan.h>
+
static netdev_features_t typhoon_features_check(struct sk_buff *skb,
struct net_device *dev,
netdev_features_t features)