in-band: Use "internal" netdev type for local ports.
authorEthan Jackson <ethan@nicira.com>
Fri, 22 Feb 2013 03:13:16 +0000 (19:13 -0800)
committerEthan Jackson <ethan@nicira.com>
Mon, 25 Feb 2013 19:12:02 +0000 (11:12 -0800)
commit89e3f9ccae8fefa45b693330810862f281746460
treee80942be1fa2411909aacbbe208e4aa3de305cc6
parent19616e461cc7c97639230a88f5b3c0f78989f50e
in-band: Use "internal" netdev type for local ports.

A bridge's local port always has type "internal", so opening it
with type "system" can't be correct.  This was causing upgrade
problems.  Specifically, in certain bridge topologies, if there was
a manager set force-reload-kmod would fail.  This is because the
local port netdev would open in the in-band code with type
"system", confusing the more important netdev_open() in
iface_create().

Bug #15067.
Signed-off-by: Ethan Jackson <ethan@nicira.com>
ofproto/in-band.c