OSDN Git Service

net: typhoon: include <net/vxlan.h>
authorEric Dumazet <edumazet@google.com>
Tue, 8 Feb 2022 00:35:02 +0000 (16:35 -0800)
committerJakub Kicinski <kuba@kernel.org>
Tue, 8 Feb 2022 03:53:38 +0000 (19:53 -0800)
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>
drivers/net/ethernet/3com/typhoon.c

index 08f6c42..ad57209 100644 (file)
@@ -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)