Loading drivers/net/ethernet/intel/ixgbe/ixgbe_main.c +1 −1 Original line number Original line Diff line number Diff line Loading @@ -6889,7 +6889,7 @@ static int ixgbe_set_features(struct net_device *netdev, return 0; return 0; } } static int ixgbe_ndo_fdb_add(struct ndmsg *ndm, static int ixgbe_ndo_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], struct net_device *dev, struct net_device *dev, const unsigned char *addr, const unsigned char *addr, u16 flags) u16 flags) Loading drivers/net/macvlan.c +1 −1 Original line number Original line Diff line number Diff line Loading @@ -546,7 +546,7 @@ static int macvlan_vlan_rx_kill_vid(struct net_device *dev, return 0; return 0; } } static int macvlan_fdb_add(struct ndmsg *ndm, static int macvlan_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], struct net_device *dev, struct net_device *dev, const unsigned char *addr, const unsigned char *addr, u16 flags) u16 flags) Loading include/linux/netdevice.h +3 −1 Original line number Original line Diff line number Diff line Loading @@ -904,7 +904,8 @@ struct netdev_fcoe_hbainfo { * feature set might be less than what was returned by ndo_fix_features()). * feature set might be less than what was returned by ndo_fix_features()). * Must return >0 or -errno if it changed dev->features itself. * Must return >0 or -errno if it changed dev->features itself. * * * int (*ndo_fdb_add)(struct ndmsg *ndm, struct net_device *dev, * int (*ndo_fdb_add)(struct ndmsg *ndm, struct nlattr *tb[], * struct net_device *dev, * const unsigned char *addr, u16 flags) * const unsigned char *addr, u16 flags) * Adds an FDB entry to dev for addr. * Adds an FDB entry to dev for addr. * int (*ndo_fdb_del)(struct ndmsg *ndm, struct net_device *dev, * int (*ndo_fdb_del)(struct ndmsg *ndm, struct net_device *dev, Loading Loading @@ -1014,6 +1015,7 @@ struct net_device_ops { void (*ndo_neigh_destroy)(struct neighbour *n); void (*ndo_neigh_destroy)(struct neighbour *n); int (*ndo_fdb_add)(struct ndmsg *ndm, int (*ndo_fdb_add)(struct ndmsg *ndm, struct nlattr *tb[], struct net_device *dev, struct net_device *dev, const unsigned char *addr, const unsigned char *addr, u16 flags); u16 flags); Loading net/bridge/br_fdb.c +2 −1 Original line number Original line Diff line number Diff line Loading @@ -608,7 +608,8 @@ static int fdb_add_entry(struct net_bridge_port *source, const __u8 *addr, } } /* Add new permanent fdb entry with RTM_NEWNEIGH */ /* Add new permanent fdb entry with RTM_NEWNEIGH */ int br_fdb_add(struct ndmsg *ndm, struct net_device *dev, int br_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], struct net_device *dev, const unsigned char *addr, u16 nlh_flags) const unsigned char *addr, u16 nlh_flags) { { struct net_bridge_port *p; struct net_bridge_port *p; Loading net/bridge/br_private.h +1 −1 Original line number Original line Diff line number Diff line Loading @@ -364,7 +364,7 @@ extern void br_fdb_update(struct net_bridge *br, extern int br_fdb_delete(struct ndmsg *ndm, extern int br_fdb_delete(struct ndmsg *ndm, struct net_device *dev, struct net_device *dev, const unsigned char *addr); const unsigned char *addr); extern int br_fdb_add(struct ndmsg *nlh, extern int br_fdb_add(struct ndmsg *nlh, struct nlattr *tb[], struct net_device *dev, struct net_device *dev, const unsigned char *addr, const unsigned char *addr, u16 nlh_flags); u16 nlh_flags); Loading Loading
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c +1 −1 Original line number Original line Diff line number Diff line Loading @@ -6889,7 +6889,7 @@ static int ixgbe_set_features(struct net_device *netdev, return 0; return 0; } } static int ixgbe_ndo_fdb_add(struct ndmsg *ndm, static int ixgbe_ndo_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], struct net_device *dev, struct net_device *dev, const unsigned char *addr, const unsigned char *addr, u16 flags) u16 flags) Loading
drivers/net/macvlan.c +1 −1 Original line number Original line Diff line number Diff line Loading @@ -546,7 +546,7 @@ static int macvlan_vlan_rx_kill_vid(struct net_device *dev, return 0; return 0; } } static int macvlan_fdb_add(struct ndmsg *ndm, static int macvlan_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], struct net_device *dev, struct net_device *dev, const unsigned char *addr, const unsigned char *addr, u16 flags) u16 flags) Loading
include/linux/netdevice.h +3 −1 Original line number Original line Diff line number Diff line Loading @@ -904,7 +904,8 @@ struct netdev_fcoe_hbainfo { * feature set might be less than what was returned by ndo_fix_features()). * feature set might be less than what was returned by ndo_fix_features()). * Must return >0 or -errno if it changed dev->features itself. * Must return >0 or -errno if it changed dev->features itself. * * * int (*ndo_fdb_add)(struct ndmsg *ndm, struct net_device *dev, * int (*ndo_fdb_add)(struct ndmsg *ndm, struct nlattr *tb[], * struct net_device *dev, * const unsigned char *addr, u16 flags) * const unsigned char *addr, u16 flags) * Adds an FDB entry to dev for addr. * Adds an FDB entry to dev for addr. * int (*ndo_fdb_del)(struct ndmsg *ndm, struct net_device *dev, * int (*ndo_fdb_del)(struct ndmsg *ndm, struct net_device *dev, Loading Loading @@ -1014,6 +1015,7 @@ struct net_device_ops { void (*ndo_neigh_destroy)(struct neighbour *n); void (*ndo_neigh_destroy)(struct neighbour *n); int (*ndo_fdb_add)(struct ndmsg *ndm, int (*ndo_fdb_add)(struct ndmsg *ndm, struct nlattr *tb[], struct net_device *dev, struct net_device *dev, const unsigned char *addr, const unsigned char *addr, u16 flags); u16 flags); Loading
net/bridge/br_fdb.c +2 −1 Original line number Original line Diff line number Diff line Loading @@ -608,7 +608,8 @@ static int fdb_add_entry(struct net_bridge_port *source, const __u8 *addr, } } /* Add new permanent fdb entry with RTM_NEWNEIGH */ /* Add new permanent fdb entry with RTM_NEWNEIGH */ int br_fdb_add(struct ndmsg *ndm, struct net_device *dev, int br_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], struct net_device *dev, const unsigned char *addr, u16 nlh_flags) const unsigned char *addr, u16 nlh_flags) { { struct net_bridge_port *p; struct net_bridge_port *p; Loading
net/bridge/br_private.h +1 −1 Original line number Original line Diff line number Diff line Loading @@ -364,7 +364,7 @@ extern void br_fdb_update(struct net_bridge *br, extern int br_fdb_delete(struct ndmsg *ndm, extern int br_fdb_delete(struct ndmsg *ndm, struct net_device *dev, struct net_device *dev, const unsigned char *addr); const unsigned char *addr); extern int br_fdb_add(struct ndmsg *nlh, extern int br_fdb_add(struct ndmsg *nlh, struct nlattr *tb[], struct net_device *dev, struct net_device *dev, const unsigned char *addr, const unsigned char *addr, u16 nlh_flags); u16 nlh_flags); Loading