[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20150220.123155.1339488736970212441.davem@davemloft.net>
Date: Fri, 20 Feb 2015 12:31:55 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: sfeldma@...il.com
Cc: netdev@...r.kernel.org, jiri@...nulli.us,
roopa@...ulusnetworks.com, linux@...ck-us.net,
f.fainelli@...il.com, andrew@...n.ch, gospo@...ulusnetworks.com,
vbandaru@...adcom.com, siva.mannem.lnx@...il.com
Subject: Re: [PATCH net-next RFC 4/5] bridge: let HW control FDB ageing by
setting NTF_EXT_AGED
From: sfeldma@...il.com
Date: Thu, 19 Feb 2015 23:09:54 -0800
> @@ -990,10 +993,13 @@ void br_fdb_unsync_static(struct net_bridge *br, struct net_bridge_port *p)
> }
>
> int br_fdb_external_learn_add(struct net_bridge *br, struct net_bridge_port *p,
> - const unsigned char *addr, u16 vid)
> + struct netdev_switch_notifier_fdb_info *fdb_info)
> {
...
> @@ -1026,10 +1034,12 @@ err_unlock:
> }
>
> int br_fdb_external_learn_del(struct net_bridge *br, struct net_bridge_port *p,
> - const unsigned char *addr, u16 vid)
> + struct netdev_switch_notifier_fdb_info *fdb_info)
> {
...
> @@ -403,9 +405,9 @@ int br_fdb_dump(struct sk_buff *skb, struct netlink_callback *cb,
> int br_fdb_sync_static(struct net_bridge *br, struct net_bridge_port *p);
> void br_fdb_unsync_static(struct net_bridge *br, struct net_bridge_port *p);
> int br_fdb_external_learn_add(struct net_bridge *br, struct net_bridge_port *p,
> - const unsigned char *addr, u16 vid);
> + struct netdev_switch_notifier_fdb_info *fdb_info);
> int br_fdb_external_learn_del(struct net_bridge *br, struct net_bridge_port *p,
> - const unsigned char *addr, u16 vid);
> + struct netdev_switch_notifier_fdb_info *fdb_info);
You probably want to mark the fdb_info argument as 'const'.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists