datapath: Drop synchronize_rcu() in internal dev destroy.
authorJesse Gross <jesse@nicira.com>
Thu, 9 Dec 2010 07:29:10 +0000 (23:29 -0800)
committerJesse Gross <jesse@nicira.com>
Sat, 11 Dec 2010 23:19:47 +0000 (15:19 -0800)
commit60ba76ea15b6758904b37c4c030e3f133c503c69
tree85787535aaaf0247534666fc983e0126d31111f4
parent055dae4f7f6d3316ca326736f7b731db1bde0f09
datapath: Drop synchronize_rcu() in internal dev destroy.

unregister_netdevice() contains a call to synchronize_rcu(), so there
is no need to directly call it ourselves immediately beforehand.
We were relying on the call during unregistration anyways to stop
packets from being transmited on the device, so our version was
both misleading and had a performance penalty.

Signed-off-by: Jesse Gross <jesse@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
datapath/vport-internal_dev.c