Fix oops in vlan and bridging code