bridge: Add iface to hash table before calling iface_is_internal().
authorJesse Gross <jesse@nicira.com>
Mon, 10 May 2010 20:34:41 +0000 (13:34 -0700)
committerJesse Gross <jesse@nicira.com>
Mon, 10 May 2010 20:38:21 +0000 (13:38 -0700)
commit2457b24fc5c935ec8c2930f9df923fc37b8bb38e
tree9746ddf6f35c192e4cb5f29d98c0364624bd335d
parentd25b341aa8ce7062a0995adfe1a8e4321c10a727
bridge: Add iface to hash table before calling iface_is_internal().

When creating an interface we need to check whether it is internal.
However, the function iface_is_internal() does a lookup on the
interface name but we haven't added it to the hash table yet.  This
adds the interface to the table early on in iface_create.

NIC-78
vswitchd/bridge.c