datapath: Disable bottom-halves where necessary.
authorJesse Gross <jesse@nicira.com>
Wed, 12 May 2010 18:40:58 +0000 (11:40 -0700)
committerJesse Gross <jesse@nicira.com>
Fri, 14 May 2010 22:10:45 +0000 (15:10 -0700)
commit1c075d0aff8267b05073971211e79d73392078cf
tree01aa59cdd7b5a1ae0bade4080827ee207473861d
parent1d7241c7298615ca4e2b45647bf231e22f80e667
datapath: Disable bottom-halves where necessary.

Places that update per-cpu stats without locking need to have bottom
halves disabled.  Otherwise we can be running in process context and
in the middle of an operation and be interrupted by a softirq.
datapath/datapath.c
datapath/vport-internal_dev.c