Skip to content
Commit 92eb1d47 authored by Jesse Gross's avatar Jesse Gross
Browse files

openvswitch: Use RCU callback when detaching netdevices.



Currently, each time a device is detached from an OVS datapath
we call synchronize RCU before freeing associated data structures.
However, if a bridge is deleted (which detaches all ports) when
many devices are connected then there can be a long delay.  This
switches to use call_rcu() to group the cost together.

Reported-by: default avatarJustin Pettit <jpettit@nicira.com>
Signed-off-by: default avatarJesse Gross <jesse@nicira.com>
parent 39c7caeb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment