Hi, all
I'm using a userspace OVS. I find that there is PROBABILITY the 'br0'
opened as type 'internal' before it is opened as type 'tap'. This will
cause the 'br0' inserted into 'netdev_shash' as internal class. When it
is created as type 'tap' later, error occurs. 'br0' then can't be created
in linux. (But the OVS works correctly in switching packets.)
I only know 'br0' can be used as an interface to linux host. Can someone
explain me the function of 'br0'? In fact I don't understand how 'br0' works
and why this bug does't affect me at all.
Thanks.
Breakpoint 1, netdev_open (name=0x7c6ee0 "br0", type=0x50ea4d "internal",
netdevp=0x7fffffffe138) at lib/netdev.c:307
307 netdev_initialize();
(gdb) bt
#0 netdev_open (name=0x7c6ee0 "br0", type=0x50ea4d "internal",
netdevp=0x7fffffffe138) at lib/netdev.c:307
#1 0x0000000000440dab in in_band_create (ofproto=0x7c2ea0, local_name=0x7c6ee0
"br0", in_bandp=0x7abd58) at ofproto/in-band.c:422
#2 0x000000000043cb7b in update_in_band_remotes (mgr=0x7abcc0) at
ofproto/connmgr.c:708
#3 0x000000000043c775 in connmgr_set_controllers (mgr=0x7abcc0,
controllers=0x7a1750, n_controllers=2, allowed_versions=0) at
ofproto/connmgr.c:593
#4 0x0000000000411f2e in ofproto_set_controllers (p=0x7c2ea0,
controllers=0x7a1750, n_controllers=2, allowed_versions=0) at
ofproto/ofproto.c:548
#5 0x000000000040bcae in bridge_configure_remotes (br=0x7a1800, managers=0x0,
n_managers=0) at vswitchd/bridge.c:3087
#6 0x00000000004057cb in bridge_reconfigure_continue (ovs_cfg=0x7d1b60) at
vswitchd/bridge.c:628
#7 0x0000000000409f36 in bridge_run () at vswitchd/bridge.c:2416
#8 0x000000000040ee78 in main (argc=6, argv=0x7fffffffe5c8) at
vswitchd/ovs-vswitchd.c:118
...
Breakpoint 1, netdev_open (name=0x7d0160 "br0", type=0x5112d6 "tap",
netdevp=0x7fffffffe280) at lib/netdev.c:307
307 netdev_initialize();
(gdb) bt
#0 netdev_open (name=0x7d0160 "br0", type=0x5112d6 "tap",
netdevp=0x7fffffffe280) at lib/netdev.c:307
#1 0x0000000000407c31 in iface_do_create (br=0x7a1800, if_cfg=0x7ab550,
ofp_portp=0x7fffffffe2cc, netdevp=0x7fffffffe300) at vswitchd/bridge.c:1462
#2 0x0000000000407ed6 in iface_create (br=0x7a1800, if_cfg=0x7ab550,
ofp_port=65535) at vswitchd/bridge.c:1530
#3 0x00000000004055c9 in bridge_reconfigure_ofp () at vswitchd/bridge.c:579
#4 0x0000000000405678 in bridge_reconfigure_continue (ovs_cfg=0x7d1b60) at
vswitchd/bridge.c:600
#5 0x0000000000409f36 in bridge_run () at vswitchd/bridge.c:2416
#6 0x000000000040ee78 in main (argc=6, argv=0x7fffffffe5c8) at
vswitchd/ovs-vswitchd.c:118
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev