bridge: Fix use of wild pointer in iface_do_create().
authorBen Pfaff <blp@nicira.com>
Fri, 17 May 2013 05:37:53 +0000 (22:37 -0700)
committerBen Pfaff <blp@nicira.com>
Fri, 17 May 2013 05:49:21 +0000 (22:49 -0700)
commit2291eb080c1afe13a5d3cb3048f0d160386b714b
treea9788667333fd9bdbf573b1ab997d9c751eccb12
parent63a10d0e099fe8eb6052fadf6b80a0ab208a6381
bridge: Fix use of wild pointer in iface_do_create().

'netdev' was not initialized at this point in the function, so the cleanup
at the error label referenced a wild pointer.

Introduced in commit 94a538422d4b (netdev: Prevent using reserved names).

CC: Alex Wang <alexw@nicira.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
vswitchd/bridge.c