]> 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)
commit63eda1fe7708e5be4d5428ca792d4fbb3a4a9025
tree213d748de6b02020fa76c0cf9309755a798f4fd1
parent63e4fadda7ad50a9c6c25cb5465465c2fb204761
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