Fix setting "of" device name based on unitialized dp_idx.
authorJustin Pettit <jpettit@nicira.com>
Tue, 23 Dec 2008 08:30:38 +0000 (00:30 -0800)
committerJustin Pettit <jpettit@nicira.com>
Tue, 23 Dec 2008 08:30:38 +0000 (00:30 -0800)
commitfaa47744f0d0ad4d1987d9722d15897d788625f4
treed27ac305c106969dcdce6ed852db360352c642a1
parente211702195d109c1cb381ace5078a6840e9ffa7e
Fix setting "of" device name based on unitialized dp_idx.

The name of the "of" device is of the form "of<dp_idx>".  The device
driver assumes the "dp_idx" field has been set in the datapath struct
before its called.  This was not the case.
datapath/datapath.c