]> git.baikalelectronics.ru Git - kernel.git/commit
vxlan: release lock after each bucket in vxlan_cleanup
authorSorin Dumitru <sorin@returnze.ro>
Tue, 26 May 2015 07:42:04 +0000 (10:42 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 May 2015 17:33:21 +0000 (13:33 -0400)
commit6ff7dd6f3a0797084f0c252c60effa32e923d37c
tree213d748de6b02020fa76c0cf9309755a798f4fd1
parent67c941f424b6f48b887f980d1cc3b2c34b2b4a07
vxlan: release lock after each bucket in vxlan_cleanup

We're seeing some softlockups from this function when there
are a lot fdb entries on a vxlan device. Taking the lock for
each bucket instead of the whole table is enough to fix that.

Signed-off-by: Sorin Dumitru <sdumitru@ixiacom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vxlan.c