summaryrefslogtreecommitdiff
path: root/patches/0072-netdevice-ndo_fdb_add/igb.patch
blob: 9dcac3d2ef43b29cc9f2b9bc055b8bd6d29563bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- a/drivers/net/ethernet/intel/igb/igb_main.c
+++ b/drivers/net/ethernet/intel/igb/igb_main.c
@@ -2078,7 +2078,11 @@ static int igb_set_features(struct net_d
 
 static int igb_ndo_fdb_add(struct ndmsg *ndm, struct nlattr *tb[],
 			   struct net_device *dev,
+#if LINUX_VERSION_IS_LESS(3,19,0)
+			   const unsigned char *addr,
+#else
 			   const unsigned char *addr, u16 vid,
+#endif
 			   u16 flags)
 {
 	/* guarantee we can provide a unique filter for the unicast address */