vxlan: fix last fdb index during dump of fdb with nhid
authorRoopa Prabhu <roopa@cumulusnetworks.com>
Wed, 24 Jun 2020 21:02:36 +0000 (14:02 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 25 Jun 2020 23:12:34 +0000 (16:12 -0700)
commitb18e9834f7b248b41e8179a039ec80803bb3d67a
treef415849060ec32be7e371b2d3953cd9db477ce51
parent471e39df96b9a4c4ba88a2da9e25a126624d7a9c
vxlan: fix last fdb index during dump of fdb with nhid

This patch fixes last saved fdb index in fdb dump handler when
handling fdb's with nhid.

Fixes: 1274e1cc4226 ("vxlan: ecmp support for mac fdb entries")
Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vxlan.c