diff options
author | Dominik Sliwa <dominik.sliwa@toradex.com> | 2019-02-21 10:23:08 +0100 |
---|---|---|
committer | Dominik Sliwa <dominik.sliwa@toradex.com> | 2019-02-21 10:23:44 +0100 |
commit | 0bdb080c70495ea4efbed7661b4fe6100bd5adde (patch) | |
tree | 9b0e0278c74c56b724540c9c12621f2fed70a6ff /patches/0072-netdevice-ndo_fdb_add/igb.patch | |
parent | e5561ba59729bf97f11bc11bb61fd4ef5c08c3b9 (diff) |
Revert "backports: Remove unused parts"
This reverts commit ab3fd3b9a801a9faa2619e2e65207e736f859a6d.
Diffstat (limited to 'patches/0072-netdevice-ndo_fdb_add/igb.patch')
-rw-r--r-- | patches/0072-netdevice-ndo_fdb_add/igb.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/patches/0072-netdevice-ndo_fdb_add/igb.patch b/patches/0072-netdevice-ndo_fdb_add/igb.patch new file mode 100644 index 00000000..9dcac3d2 --- /dev/null +++ b/patches/0072-netdevice-ndo_fdb_add/igb.patch @@ -0,0 +1,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 */ |