diff options
author | stephen hemminger <shemminger@vyatta.com> | 2012-10-01 08:32:33 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-10-01 18:39:44 -0400 |
commit | edc7d57327bd08bfd04f41531d49b176369db218 (patch) | |
tree | c1005cd5c5e9006c4eb2de39b3d14598f2206892 /net/bridge/br_fdb.c | |
parent | de0a41484c47d783dd4d442914815076aa2caac2 (diff) |
netlink: add attributes to fdb interface
Later changes need to be able to refer to neighbour attributes
when doing fdb_add.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge/br_fdb.c')
-rw-r--r-- | net/bridge/br_fdb.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/bridge/br_fdb.c b/net/bridge/br_fdb.c index 02861190a3d4..d9576e6de2b8 100644 --- a/net/bridge/br_fdb.c +++ b/net/bridge/br_fdb.c | |||
@@ -608,7 +608,8 @@ static int fdb_add_entry(struct net_bridge_port *source, const __u8 *addr, | |||
608 | } | 608 | } |
609 | 609 | ||
610 | /* Add new permanent fdb entry with RTM_NEWNEIGH */ | 610 | /* Add new permanent fdb entry with RTM_NEWNEIGH */ |
611 | int br_fdb_add(struct ndmsg *ndm, struct net_device *dev, | 611 | int br_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], |
612 | struct net_device *dev, | ||
612 | const unsigned char *addr, u16 nlh_flags) | 613 | const unsigned char *addr, u16 nlh_flags) |
613 | { | 614 | { |
614 | struct net_bridge_port *p; | 615 | struct net_bridge_port *p; |