I don't think that ospf as ip route distribution protocol can help with bridge loops if someone needs to run bridges, because it is different level of iso/osi model.
is it posible just bridge virtual interface like vlan or eoip without bridge real interface (ether1,.....) ?. i mean is it posible run without add real interface into bridge (will rstp work ?) to block a virtual interface (became alternate port)?
because when i looked rstp not bocking a virtual interfce became alternate port (role = alternate-port), in my case all interface bridge became dessignated-port and root-port (for eoip from sw_B to sw_a)