vxlan: Update vxlan fdb 'used' field after each usage
authorSridhar Samudrala <sri@us.ibm.com>
Fri, 17 May 2013 06:39:07 +0000 (06:39 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 27 Jun 2013 17:38:47 +0000 (10:38 -0700)
commitd9104ef4aa6b7684214a807ae683eeb33bc0f317
tree5254bfbf018069d870c5879d7b518527fbbcc82a
parent6108961b022d3bca9cded380a94731897e09543a
vxlan: Update vxlan fdb 'used' field after each usage

[ Upstream commit 014be2c8eac3381e202f684c1f35ae184a8b152b ]

Fix some instances where vxlan fdb 'used' field is not updated after the entry
is used.

v2: rename vxlan_find_mac() as __vxlan_find_mac() and create a new vxlan_find_mac()
that also updates ->used field.

Signed-off-by: Sridhar Samudrala <sri@us.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/vxlan.c