Re: [PATCH net-next v4 1/2] vxlan: introduce vxlan_rdst_append
From: Mike Rapoport <hidden>
Date: 2013-06-24 06:54:53
On Mon, Jun 24, 2013 at 9:02 AM, Cong Wang [off-list ref] wrote:
On Sun, 23 Jun 2013 at 16:22 GMT, Mike Rapoport [off-list ref] wrote:quoted
to allow remotes list management for both FDB entries and default destinations Signed-off-by: Mike Rapoport <redacted> --- drivers/net/vxlan.c | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-)diff --git a/drivers/net/vxlan.c b/drivers/net/vxlan.c index 212a256..e5fb6568 100644 --- a/drivers/net/vxlan.c +++ b/drivers/net/vxlan.c@@ -386,14 +386,13 @@ static struct vxlan_fdb *vxlan_find_mac(struct vxlan_dev *vxlan, return f; } -/* Add/update destinations for multicast */ -static int vxlan_fdb_append(struct vxlan_fdb *f, +static int vxlan_rdst_append(struct list_head *remotes, __be32 ip, __be16 port, __u32 vni, __u32 ifindex)I think you need to align the above line.
I just kept the original indentation
quoted
+/* Add/update destinations for multicast */ +static int vxlan_fdb_append(struct vxlan_fdb *f, + __be32 ip, __be16 port, __u32 vni, __u32 ifindex)You need to align this line too.
And here as well.
-- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
-- Sincerely yours, Mike.