datapath: Disable TX on internal ports before removing.
authorBen Pfaff <blp@nicira.com>
Thu, 21 May 2009 18:18:34 +0000 (11:18 -0700)
committerBen Pfaff <blp@nicira.com>
Thu, 21 May 2009 18:18:34 +0000 (11:18 -0700)
commitc530182b203fedb926f6ca1c4fa7235c7e37c380
tree10aa6381e13108f62870e70160cf1155cdd7dc22
parentf899caac3842a0754815d86994e150b568d7b272
datapath: Disable TX on internal ports before removing.

This is a partial fix for a more pervasive problem, that destroying a
dp_dev races with its transmit work function (dp_dev_do_xmit) running.
A "better" and "correct" fix has been written, but unfortunately it seems
to be buggy and crash the system so far.
datapath/datapath.c