]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerDavid S. Miller <davem@davemloft.net>
Sat, 18 May 2013 19:53:39 +0000 (12:53 -0700)
commitd7f3de1d985e52f8cec412c2a1da9ff0c9d7061b
treeb1a278d085fac94a8ad56500309924bc3b448002
parentc7085f7a3d6a1bd89ed2377476d00eb5b1e94e99
vxlan: Update vxlan fdb 'used' field after each usage

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>
drivers/net/vxlan.c