vxlan: fix fdb_dump index calculation
authorAtzm Watanabe <atzm@iij.ad.jp>
Mon, 10 Aug 2015 14:39:09 +0000 (23:39 +0900)
committerDavid S. Miller <davem@davemloft.net>
Tue, 11 Aug 2015 04:15:18 +0000 (21:15 -0700)
commit07a51cd3794960548627a27aae68c1446341db32
treef3a639804940a0e2d2285704418995da1f1765a1
parented8db18dea26850a73075d0aefcaebb78cc1fe19
vxlan: fix fdb_dump index calculation

When too many remotes are bound to an FDB entry, index may not be increased.
This problem will be caused on the large scale environment that is based on
the unicast default destination, for instance.

Signed-off-by: Atzm Watanabe <atzm@iij.ad.jp>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vxlan.c